We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f7534 commit 8c038e3Copy full SHA for 8c038e3
cbits/HsGLUT.c
@@ -90,7 +90,6 @@ hs_GLUT_getProcAddress(const char *name)
90
91
if (firstTime) {
92
firstTime = 0;
93
- /* Get a handle for our executable. */
94
handle = dlopen("libglut.so", RTLD_LAZY);
95
}
96
@@ -105,6 +104,9 @@ hs_GLUT_getProcAddress(const char *name)
105
104
#endif
106
107
/* -------------------------------------------------------------------------- */
+
108
+/* Note: This #if below is in sync with freeglut_std.h, classic GLUT simply used
109
+ #if defined(_WIN32). */
110
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__WATCOMC__)
111
#define INIT_FONT(name,num) hs_##name = ((void*)(num))
112
#else
0 commit comments