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

Unified Diff: third_party/usrsctp/usrsctp.gyp

Issue 292063003: usrsctp: Filter out Chrome's WINVER macros to avoid -Wmacro-redefined (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/usrsctp/usrsctp.gyp
diff --git a/third_party/usrsctp/usrsctp.gyp b/third_party/usrsctp/usrsctp.gyp
index f97cc63bcd3a817fb59cbc3bd5df7d43a99b2a81..0061c1e86c1f017837b4abe6f54562b48a7c8006 100644
--- a/third_party/usrsctp/usrsctp.gyp
+++ b/third_party/usrsctp/usrsctp.gyp
@@ -152,6 +152,11 @@
'WINVER=0x0502',
'_WIN32_WINNT=0x0502',
],
+ 'defines!': [
+ # Remove Chrome's WINVER defines to avoid redefinition warnings.
+ 'WINVER=0x0602',
+ '_WIN32_WINNT=0x0602',
+ ],
'cflags!': [ '/W3', '/WX' ],
'cflags': [ '/w' ],
# TODO(ldixon) : Remove this disabling of warnings by pushing a
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698