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:
@@ -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
|
||||
|
Reference in New Issue
Block a user