summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-line-utils/libedit/config.h')
-rw-r--r--cmd-line-utils/libedit/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd-line-utils/libedit/config.h b/cmd-line-utils/libedit/config.h
index 966cd1bedc0..b6f002d5b9e 100644
--- a/cmd-line-utils/libedit/config.h
+++ b/cmd-line-utils/libedit/config.h
@@ -1,3 +1,14 @@
#include "my_config.h"
#include "sys.h"
+
+#define __RCSID(x)
+#define __COPYRIGHT(x)
+#define __RENAME(x)
+#define _DIAGASSERT(x)
+
+#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
+#define __attribute__(A)
+#endif
+
+