Skip to content

Commit 8c038e3

Browse files
committed
Improved comments a bit.
1 parent 04f7534 commit 8c038e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cbits/HsGLUT.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ hs_GLUT_getProcAddress(const char *name)
9090

9191
if (firstTime) {
9292
firstTime = 0;
93-
/* Get a handle for our executable. */
9493
handle = dlopen("libglut.so", RTLD_LAZY);
9594
}
9695

@@ -105,6 +104,9 @@ hs_GLUT_getProcAddress(const char *name)
105104
#endif
106105

107106
/* -------------------------------------------------------------------------- */
107+
108+
/* Note: This #if below is in sync with freeglut_std.h, classic GLUT simply used
109+
#if defined(_WIN32). */
108110
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__WATCOMC__)
109111
#define INIT_FONT(name,num) hs_##name = ((void*)(num))
110112
#else

0 commit comments

Comments
 (0)