1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Enable C++11

This commit is contained in:
Sergey Vojtovich
2018-05-29 21:46:31 +04:00
parent 96572b7aa1
commit d9613b750c
4 changed files with 14 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ extern char *strmake(char *dst,const char *src,size_t length);
#define strmake_buf(D,S) strmake(D, S, sizeof(D) - 1)
#else
#define strmake_buf(D,S) ({ \
typeof (D) __x __attribute__((unused)) = { 2 }; \
__typeof__ (D) __x __attribute__((unused)) = { 2 }; \
strmake(D, S, sizeof(D) - 1); \
})
#endif