X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=miniglut.h;h=f5b2dafc1b29777c063899bab40d63067de84d79;hb=ce295ded083c9acc49900cfcb825513d929fa385;hp=af9cfcd7e83a560b222607c771cfb5cceafb2d51;hpb=ea1f048408daa719d70e78dd88f7ff12f03ac902;p=miniglut
diff --git a/miniglut.h b/miniglut.h
index af9cfcd..f5b2daf 100644
--- a/miniglut.h
+++ b/miniglut.h
@@ -21,6 +21,14 @@ along with this program. If not, see .
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN 1
#include
+
+#ifdef _MSC_VER
+#pragma comment (lib, "opengl32")
+#ifndef MINIGLUT_NO_WINMM
+#pragma comment (lib, "winmm")
+#endif
+#endif /* MSVC */
+
#endif
#include