mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
win: suppress warning; C4005: '_CRT_SECURE_NO_WARNINGS': macro redefinition
This commit is contained in:
1 parent
0ccd58da01
commit
7e142132bf
3 files changed
+17
-6
No files matched your search
@@ -8,8 +8,13 @@
|
||||
#ifndef tests_common_h
|
||||
#define tests_common_h
|
||||
|
||||
#define _USE_MATH_DEFINES /* for windows */
|
||||
#define _CRT_SECURE_NO_WARNINGS /* for windows */
|
||||
#ifndef _USE_MATH_DEFINES
|
||||
# define _USE_MATH_DEFINES /* for windows */
|
||||
#endif
|
||||
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
# define _CRT_SECURE_NO_WARNINGS /* for windows */
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in new issue
Block a user