_Null_terminated_ not recognized by gcc

This commit is contained in:
Olivier Bertrand 2017-05-08 14:46:15 +02:00
parent 40a56581b0
commit 9d6677b5ea

View file

@ -17,14 +17,15 @@ typedef off_t off64_t;
#if defined(__WIN__) #if defined(__WIN__)
typedef __int64 BIGINT; typedef __int64 BIGINT;
typedef _Null_terminated_ const char *PCSZ;
#else // !__WIN__ #else // !__WIN__
typedef longlong BIGINT; typedef longlong BIGINT;
#define FILE_BEGIN SEEK_SET #define FILE_BEGIN SEEK_SET
#define FILE_CURRENT SEEK_CUR #define FILE_CURRENT SEEK_CUR
#define FILE_END SEEK_END #define FILE_END SEEK_END
typedef const char *PCSZ;
#endif // !__WIN__ #endif // !__WIN__
typedef _Null_terminated_ const char *PCSZ;
#if !defined(__WIN__) #if !defined(__WIN__)
typedef const void *LPCVOID; typedef const void *LPCVOID;