Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: third_party/libjpeg/libjpeg.gyp

Issue 100483003: Disable getenv() in libjpeg and libjpeg_turbo (roll to 238232) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjpeg/libjpeg.gyp
diff --git a/third_party/libjpeg/libjpeg.gyp b/third_party/libjpeg/libjpeg.gyp
index f8ce278f4383157c692ecb10f220c64655e0d27e..f22c8595ba6a523c91eca56e76a5f68f4e737318 100644
--- a/third_party/libjpeg/libjpeg.gyp
+++ b/third_party/libjpeg/libjpeg.gyp
@@ -11,6 +11,9 @@
{
'target_name': 'libjpeg',
'type': 'static_library',
+ 'defines': [
+ 'NO_GETENV', # getenv() is not thread-safe.
+ ],
'sources': [
'jcapimin.c',
'jcapistd.c',
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698