summaryrefslogtreecommitdiffstats
path: root/waftools/detections/compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/detections/compiler.py')
-rw-r--r--waftools/detections/compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py
index 900128ce4c..5bbba87fd7 100644
--- a/waftools/detections/compiler.py
+++ b/waftools/detections/compiler.py
@@ -52,7 +52,7 @@ def __add_clang_flags__(ctx):
def __add_mswin_flags__(ctx):
ctx.env.CFLAGS += ['-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS',
- '-U__STRICT_ANSI__']
+ '-DINITGUID', '-U__STRICT_ANSI__']
ctx.env.LAST_LINKFLAGS += ['-Wl,--major-os-version=6,--minor-os-version=0',
'-Wl,--major-subsystem-version=6,--minor-subsystem-version=0']