Trying to fix a screen freezing bug reported by Shane "tech at saxon digital" in...
[freeglut] / src / mswin / freeglut_window_mswin.c
index cd0400a..d4c5fd7 100644 (file)
@@ -25,6 +25,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
  */\r
 \r
+#define FREEGLUT_BUILDING_LIB\r
 #include <GL/freeglut.h>\r
 #include "../Common/freeglut_internal.h"\r
 \r
@@ -1080,7 +1081,6 @@ void fgPlatformGlutFullScreenToggle( SFG_Window *win )
 \r
 /* -- PLATFORM-SPECIFIC INTERFACE FUNCTION -------------------------------------------------- */\r
 \r
-\r
 int FGAPIENTRY __glutCreateWindowWithExit( const char *title, void (__cdecl *exit_function)(int) )\r
 {\r
   __glutExitFunc = exit_function;\r