diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-29 21:46:31 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-09-09 10:05:56 +0400 |
commit | d9613b750c6d975beed0e1d7f0cb1a8dd3ad106b (patch) | |
tree | 2ba37dd3c3b596eb423649a7819f8eb1e88619a5 /include/m_string.h | |
parent | 96572b7aa1698ddd1ff64672aac920e667b35790 (diff) | |
download | mariadb-git-d9613b750c6d975beed0e1d7f0cb1a8dd3ad106b.tar.gz |
Enable C++11
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h index d50da8770c3..c8b5774b08c 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -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 |