History

win32: _mingw.h: add definition for _TRUNCATE from newer _mingw.h

Avi Halachmi (:avih) committed 10 years ago

Commit 3f21d811 parent ab8422c1 file · +4 −0Browse files

Unified · Split

win32/include/_mingw.h+4−0
@@ -58,6 +58,10 @@ · 57 unmodified lines
58#define __CRT_UNALIGNED58#define __CRT_UNALIGNED
59#define _CONST_RETURN59#define _CONST_RETURN
60 60
61#ifndef _TRUNCATE
62#define _TRUNCATE ((size_t)-1)
63#endif
64
61#define __CRT_STRINGIZE(_Value) #_Value65#define __CRT_STRINGIZE(_Value) #_Value
62#define _CRT_STRINGIZE(_Value) __CRT_STRINGIZE(_Value)66#define _CRT_STRINGIZE(_Value) __CRT_STRINGIZE(_Value)
63#define __CRT_WIDE(_String) L ## _String67#define __CRT_WIDE(_String) L ## _String

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t