projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9e4e389
)
src/utils/windll.c: fix mingw cross-compilation
author
Paul Brossier
<piem@piem.org>
Mon, 9 May 2016 18:02:55 +0000
(20:02 +0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 9 May 2016 18:02:55 +0000
(20:02 +0200)
src/utils/windll.c
patch
|
blob
|
history
diff --git
a/src/utils/windll.c
b/src/utils/windll.c
index
54783b1
..
7c11af6
100644
(file)
--- a/
src/utils/windll.c
+++ b/
src/utils/windll.c
@@
-28,10
+28,14
@@
#ifdef HAVE_WIN_HACKS
+#ifndef __GNUC__ // do not include msvc headers when using gcc/mingw32
+
// latest version
#include <SDKDDKVer.h>
// for earlier versions, include WinSDKVer.h and set _WIN32_WINNT macro
+#endif /* __GNUC__ */
+
#define WIN32_LEAN_AND_MEAN
#include <windows.h>