add define of __attribute__ for readline

This commit is contained in:
unknown 2002-11-25 12:54:55 +04:00
parent ed4a4b89cd
commit 8276111fa1

View file

@ -32,6 +32,10 @@
#include "rlstdc.h" #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) #if defined (_POSIX_VERSION) && !defined (TERMIOS_MISSING)
# define TERMIOS_TTY_DRIVER # define TERMIOS_TTY_DRIVER
#else #else