mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 02:07:35 -06:00
win: fix print function for _DEBUG and supress warnings
This commit is contained in:
1 parent
cbed29820b
commit
8eddeb77d0
3 files changed
+7
-2
No files matched your search
@@ -8,7 +8,8 @@
|
||||
#ifndef cglm_common_h
|
||||
#define cglm_common_h
|
||||
|
||||
#define _USE_MATH_DEFINES /* for windows */
|
||||
#define _USE_MATH_DEFINES /* for windows */
|
||||
#define _CRT_SECURE_NO_WARNINGS /* for windows */
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
+2
-1
@@ -17,7 +17,8 @@
|
||||
|
||||
#ifndef cglm_io_h
|
||||
#define cglm_io_h
|
||||
#if defined(DEBUG) || defined(CGLM_DEFINE_PRINTS) || defined(CGLM_LIB_SRC)
|
||||
#if defined(DEBUG) || defined(_DEBUG) \
|
||||
|| defined(CGLM_DEFINE_PRINTS) || defined(CGLM_LIB_SRC)
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
#ifndef tests_common_h
|
||||
#define tests_common_h
|
||||
|
||||
#define _USE_MATH_DEFINES /* for windows */
|
||||
#define _CRT_SECURE_NO_WARNINGS /* for windows */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in new issue
Block a user