From 4df07d04be3b50e8378ef987dc056b55c48bd963 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 21 Jan 2002 19:57:48 +0000 Subject: [PATCH] * global.h [!__GNUC__]: Define __attribute__ with one argument. --- src/ChangeLog | 4 ++++ src/global.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5b91b40b8..081c8af46 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-01-21 Pavel Roskin + + * global.h [!__GNUC__]: Define __attribute__ with one argument. + 2002-01-20 Pavel Roskin * screen.c (string_file_size): Translate "UP--DIR". diff --git a/src/global.h b/src/global.h index 70f4825c0..678e8ef40 100644 --- a/src/global.h +++ b/src/global.h @@ -54,7 +54,7 @@ #include #ifndef __GNUC__ -#define __attribute__() +#define __attribute__(x) #endif #include "fs.h"