Fix compilation for wasm

libjpeg's internal putenv() function uses system setenv(), but that is
not found when building for webassembly. Just disable the entire
putenv function, since it is not used anyway.

Pick-to: 6.3 6.2 5.15
Change-Id: I1eb60f31562ef4e33c656ff3b3752bef6f88fcb8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
bb10
Eirik Aavitsland 2022-03-03 12:49:40 +01:00
parent c4d78703e0
commit 31d401dec6
1 changed files with 2 additions and 0 deletions

View File

@ -13,3 +13,5 @@
#define MEM_SRCDST_SUPPORTED 1
#define BITS_IN_JSAMPLE 8
#define NO_PUTENV