summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-05-29 21:46:31 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-09-09 10:05:56 +0400
commitd9613b750c6d975beed0e1d7f0cb1a8dd3ad106b (patch)
tree2ba37dd3c3b596eb423649a7819f8eb1e88619a5 /include/m_string.h
parent96572b7aa1698ddd1ff64672aac920e667b35790 (diff)
downloadmariadb-git-d9613b750c6d975beed0e1d7f0cb1a8dd3ad106b.tar.gz
Enable C++11
Diffstat (limited to 'include/m_string.h')
-rw-r--r--include/m_string.h2
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