diff options
author | unknown <vva@genie.(none)> | 2002-11-25 12:54:55 +0400 |
---|---|---|
committer | unknown <vva@genie.(none)> | 2002-11-25 12:54:55 +0400 |
commit | 8276111fa1539b0a58acce454b06c6dce143655b (patch) | |
tree | c69b66e29906eb533c3c99aaf6d77502b2f301c9 | |
parent | ed4a4b89cdebaa31560fcbfd0f677e4b59a54123 (diff) | |
download | mariadb-git-8276111fa1539b0a58acce454b06c6dce143655b.tar.gz |
add define of __attribute__ for readline
-rw-r--r-- | readline/rldefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/readline/rldefs.h b/readline/rldefs.h index 4a28bd1e49c..5cba9a5ac32 100644 --- a/readline/rldefs.h +++ b/readline/rldefs.h @@ -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 |