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