added support for WindowsCE (building on top of klimt)
[freeglut] / include / GL / freeglut_std.h
index 9250c3c..2acbabd 100644 (file)
@@ -70,7 +70,9 @@
 
             /* link with Win32 shared freeglut lib */
 #           if defined(_MSC_VER)
-#               pragma comment (lib, "freeglut.lib")
+#               ifndef _WIN32_WCE
+#                   pragma comment (lib, "freeglut.lib")
+#               endif
 #        endif
 
 #       endif
 
 /* Drag in other Windows libraries as required by FreeGLUT */
 #   if defined(_MSC_VER)
-#       pragma comment (lib, "winmm.lib")    /* link Windows MultiMedia lib */
-#       pragma comment (lib, "user32.lib")   /* link Windows user lib       */
-#       pragma comment (lib, "gdi32.lib")    /* link Windows GDI lib        */
-#       pragma comment (lib, "opengl32.lib") /* link Microsoft OpenGL lib   */
-#       pragma comment (lib, "glu32.lib")    /* link OpenGL Utility lib     */
+#       ifndef _WIN32_WCE
+#           pragma comment (lib, "winmm.lib")    /* link Windows MultiMedia lib */
+#           pragma comment (lib, "user32.lib")   /* link Windows user lib       */
+#           pragma comment (lib, "gdi32.lib")    /* link Windows GDI lib        */
+#           pragma comment (lib, "opengl32.lib") /* link Microsoft OpenGL lib   */
+#           pragma comment (lib, "glu32.lib")    /* link OpenGL Utility lib     */
+#       endif //_WIN32_WCE
 #   endif
 
 #else