1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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''
This commit is contained in:
unknown
2007-04-12 00:43:25 +02:00
parent 561cd328a3
commit bf5833bde8
5 changed files with 67 additions and 41 deletions

View File

@@ -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>