forked from Mirrors/tinycc
win32: _mingw.h: add definition for _TRUNCATE from newer _mingw.h
parent
ab8422c8e7
commit
3f21d81073
|
@ -58,6 +58,10 @@
|
||||||
#define __CRT_UNALIGNED
|
#define __CRT_UNALIGNED
|
||||||
#define _CONST_RETURN
|
#define _CONST_RETURN
|
||||||
|
|
||||||
|
#ifndef _TRUNCATE
|
||||||
|
#define _TRUNCATE ((size_t)-1)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define __CRT_STRINGIZE(_Value) #_Value
|
#define __CRT_STRINGIZE(_Value) #_Value
|
||||||
#define _CRT_STRINGIZE(_Value) __CRT_STRINGIZE(_Value)
|
#define _CRT_STRINGIZE(_Value) __CRT_STRINGIZE(_Value)
|
||||||
#define __CRT_WIDE(_String) L ## _String
|
#define __CRT_WIDE(_String) L ## _String
|
||||||
|
|
Loading…
Reference in New Issue