forked from bartvdbraak/blender
Brecht Van Lommel
3c14f02eac
Note these are intended for platform maintainers, we do not intend to support users making their own builds with these. For that precompiled libraries from lib/ should be used. Implemented by Martijn Berger, Ray Molenkamp and Brecht Van Lommel. Differential Revision: https://developer.blender.org/D2753
27 lines
641 B
Diff
27 lines
641 B
Diff
Index: OpenImageIO/osdep.h
|
|
===================================================================
|
|
--- OpenImageIO/osdep.h (revision 61595)
|
|
+++ OpenImageIO/osdep.h (working copy)
|
|
@@ -34,6 +34,7 @@
|
|
# define WIN32_LEAN_AND_MEAN
|
|
# define VC_EXTRALEAN
|
|
# define NOMINMAX
|
|
+# define NOGDI
|
|
# include <windows.h>
|
|
#endif
|
|
|
|
Index: OpenImageIO/platform.h
|
|
===================================================================
|
|
--- OpenImageIO/platform.h (revision 61595)
|
|
+++ OpenImageIO/platform.h (working copy)
|
|
@@ -77,6 +77,9 @@
|
|
# ifndef NOMINMAX
|
|
# define NOMINMAX
|
|
# endif
|
|
+# ifndef NOGDI
|
|
+# define NOGDI
|
|
+# endif
|
|
# include <windows.h>
|
|
#endif
|
|
|