mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 09:08:53 +00:00
win: suppress warning; C4005: '_CRT_SECURE_NO_WARNINGS': macro redefinition
This commit is contained in:
@@ -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