summaryrefslogtreecommitdiffstats
path: root/include/GL/glut.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/glut.h')
-rw-r--r--include/GL/glut.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h
index 6f877f353fd..f574f1d61c7 100644
--- a/include/GL/glut.h
+++ b/include/GL/glut.h
@@ -109,9 +109,9 @@ extern _CRTIMP void __cdecl exit(int);
#endif
/* GLUT API entry point declarations for Win32. */
-#if (defined(BUILD_GLUT32) || defined(GLUT_BUILDING_LIB)) && defined(_DLL)
+#if (defined(BUILD_GLUT32) || defined(GLUT_BUILDING_LIB)) && !defined(GLUT_STATIC)
# define GLUTAPI __declspec(dllexport)
-#elif defined(_DLL)
+#elif !defined(GLUT_STATIC)
# define GLUTAPI __declspec(dllimport)
#else
# define GLUTAPI extern