mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
fix warnings for mingw
This commit is contained in:
parent
3c07e44896
commit
f4cabf6262
@ -77,7 +77,7 @@ NANOVG_BACKEND_PROJS=[];
|
||||
|
||||
NATIVE_WINDOW='sdl'
|
||||
TOOLS_NAME = ''
|
||||
# TOOLS_NAME = 'mingw'
|
||||
TOOLS_NAME = 'mingw'
|
||||
|
||||
COMMON_CCFLAGS=' -DTK_ROOT=\"\\\"'+TK_ROOT+'\\\"\" '
|
||||
#COMMON_CCFLAGS=COMMON_CCFLAGS+' -DENABLE_PERFORMANCE_PROFILE=1 '
|
||||
|
@ -248,7 +248,7 @@ typedef enum _ret_t {
|
||||
#define MAX_PATH 255
|
||||
#endif /*MAX_PATH*/
|
||||
|
||||
#if defined(WIN32)
|
||||
#if defined(WIN32) && !defined(MINGW)
|
||||
#define TK_PATH_SEP '\\'
|
||||
#ifndef snprintf
|
||||
#define snprintf _snprintf
|
||||
|
Loading…
Reference in New Issue
Block a user