add missing file for windows

This commit is contained in:
Recep Aslantas
2017-04-22 15:20:38 +03:00
parent d5371f10a1
commit ef5a8549e2
2 changed files with 23 additions and 1 deletions

2
.gitignore vendored
View File

@@ -41,7 +41,7 @@ packages/
.anjuta/*
*.anjuta*
config.h.*
config.h
/config.h
stamp*
COPYING
.idea/*

22
src/config.h Normal file
View File

@@ -0,0 +1,22 @@
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#ifndef cglm__config__h_
#define cglm__config__h_
#if defined(_WIN32) || defined(WIN32)
/* Exclude rarely-used stuff from Windows headers */
# define WIN32_LEAN_AND_MEAN
# include <SDKDDKVer.h>
/* Windows Header Files: */
# include <windows.h>
#endif
#endif /* cglm__config__h_ */