summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-12 00:43:25 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-12 00:43:25 +0200
commitbf5833bde89d08e00b87ec9c25c75ee2c836e512 (patch)
tree5cac6e2c2035356b35afce525ae26148e79ddf94 /include/my_sys.h
parent561cd328a35edc7cdfd3253ba1ca0c7aa5a938d8 (diff)
downloadmariadb-git-bf5833bde89d08e00b87ec9c25c75ee2c836e512.tar.gz
Bug#25118 ATTRIBUTE_FORMAT_FPTR undeclared in m_ctype.h
- Move marcos for __attribute__ usage to my_attribute.h and include that file where needed include/Makefile.am: Add new header file my_attribute.h include/m_ctype.h: Include my_attribute.h in order to use ATTRIBUTE_* macros include/my_global.h: Move the ATTRIBUTE_* macros to my_attribute.h Include my_attribute.h include/my_sys.h: No need to protect the inclusion of header file, it will protect itself include/my_attribute.h: New BitKeeper file ``include/my_attribute.h''
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 63a1faf3995..615a074e814 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -31,10 +31,7 @@ extern int NEAR my_errno; /* Last error in mysys */
#include <my_pthread.h>
#endif
-#ifndef _m_ctype_h
#include <m_ctype.h> /* for CHARSET_INFO */
-#endif
-
#include <stdarg.h>
#include <typelib.h>