diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-22 00:33:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-22 00:33:28 +0100 |
| commit | 95c0bd115eacf76e3794de8558ccd4e1d8d34a4a (patch) | |
| tree | 5b1e8cceb07041e1753fe170f910722cdca8aa36 | |
| parent | 290d6d7a61aadda3f6d317465507caa7ffac1ba2 (diff) | |
Experimental define to stop windows.h defining a constant called ERROR.
| -rw-r--r-- | wscript | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -154,6 +154,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DBOOST_USE_WINDOWS_H') conf.env.append_value('CXXFLAGS', '-DUNICODE') conf.env.append_value('CXXFLAGS', '-DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN') + conf.env.append_value('CXXFLAGS', '-DNOGDI') conf.env.append_value('CXXFLAGS', '-mfpmath=sse') conf.env.append_value('CXXFLAGS', '-Wcast-align') wxrc = os.popen('wx-config --rescomp').read().split()[1:] |
