mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
add define of __attribute__ for readline
This commit is contained in:
parent
ed4a4b89cd
commit
8276111fa1
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@
|
|||
|
||||
#include "rlstdc.h"
|
||||
|
||||
#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ <8)
|
||||
#define __attribute__(A)
|
||||
#endif
|
||||
|
||||
#if defined (_POSIX_VERSION) && !defined (TERMIOS_MISSING)
|
||||
# define TERMIOS_TTY_DRIVER
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue