diff options
author | QbProg <tholag@gmail.com> | 2011-09-24 17:34:33 +0200 |
---|---|---|
committer | Denis Barbier <bouzim@gmail.com> | 2011-09-25 11:22:41 +0200 |
commit | 8ec74388f72389ce08c0abcf5f28313264711b5f (patch) | |
tree | 365fdd127bb4b75f8962b377e041394c37229e58 /inc | |
parent | 1438143b50f3d4bcf123f0b47552f3a78077edfd (diff) | |
download | oce-8ec74388f72389ce08c0abcf5f28313264711b5f.tar.gz oce-8ec74388f72389ce08c0abcf5f28313264711b5f.zip |
Fix Win32 TKOpenGL build error when using static libraries
Diffstat (limited to 'inc')
-rw-r--r-- | inc/OpenGl_Extension.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/inc/OpenGl_Extension.hxx b/inc/OpenGl_Extension.hxx index 6288bc6a..4ca86094 100644 --- a/inc/OpenGl_Extension.hxx +++ b/inc/OpenGl_Extension.hxx @@ -42,14 +42,17 @@ # else # define EXPORT # endif /* DLL */ +#else +# define EXPORT +#endif /* WNT */ + +#if defined(WNT) # ifdef STRICT # undef STRICT # endif # define STRICT # include <windows.h> -#else -# define EXPORT -#endif /* WNT */ +#endif #include <GL/gl.h> #include <GL/glu.h> |