projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed editor option to automatically count gems needed
[rocksndiamonds.git]
/
src
/
libgame
/
windows.h
diff --git
a/src/libgame/windows.h
b/src/libgame/windows.h
index a3d68cc470e21033d11ee04219f1b3a444ac48bb..4965e134b1befdc44b750b8d11c919745d4ba82d 100644
(file)
--- a/
src/libgame/windows.h
+++ b/
src/libgame/windows.h
@@
-12,10
+12,13
@@
#ifndef WINDOWS_H
#define WINDOWS_H
#ifndef WINDOWS_H
#define WINDOWS_H
+// prevent including lots of conflicting macros
+#define WIN32_LEAN_AND_MEAN
+
#include <shlobj.h>
#include <shlobj.h>
-/
* some symbols are already defined on Windows */
+/
/ some symbols are already defined on Windows
typedef int boolean_internal;
#define boolean boolean_internal
typedef int boolean_internal;
#define boolean boolean_internal
@@
-39,4
+42,4
@@
typedef int boolean_internal;
#define DrawText DrawText_internal
#endif
#define DrawText DrawText_internal
#endif
-#endif /
* WINDOWS_H */
+#endif /
/ WINDOWS_H