Can the original poster clarify which O/S this is happening on? Because AFAIK, getenv() is available everywhere, including iOS (I test libjpeg-turbo using a jailbreak environment.)
Shorter response: please give me details as to how to reproduce the failure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Where do you normally define NO_GETENV to make the code build? Our build system doesn't define it anywhere, so if you're adding it to one of the headers, I need to know which one so I can be sure to include it from turbojpeg.c as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One of those causes issues for iOS, so I'd second the usefulness of having some way to not need them.
Can the original poster clarify which O/S this is happening on? Because AFAIK, getenv() is available everywhere, including iOS (I test libjpeg-turbo using a jailbreak environment.)
Shorter response: please give me details as to how to reproduce the failure.
Windows Phone 8.1
Where do you normally define NO_GETENV to make the code build? Our build system doesn't define it anywhere, so if you're adding it to one of the headers, I need to know which one so I can be sure to include it from turbojpeg.c as well.
I added it to compilation flags
Fixed in trunk and branches/1.4.x