projects
/
miniglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
windows port
[miniglut]
/
miniglut.h
diff --git
a/miniglut.h
b/miniglut.h
index
af9cfcd
..
56d7a97
100644
(file)
--- a/
miniglut.h
+++ b/
miniglut.h
@@
-21,6
+21,12
@@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
+
+#ifdef _MSC_VER
+#pragma comment (lib, "opengl32")
+#pragma comment (lib, "winmm")
+#endif /* MSVC */
+
#endif
#include <GL/gl.h>