mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
_Null_terminated_ not recognized by gcc
This commit is contained in:
parent
40a56581b0
commit
9d6677b5ea
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue