* global.h: Define __attribute__ to an empty string for non-gcc

compilers so that it's safe to use.
This commit is contained in:
Pavel Roskin 2001-10-20 03:38:41 +00:00
parent 5062e120a5
commit 6eef7a34e7
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-10-19 Pavel Roskin <proski@gnu.org>
* global.h: Define __attribute__ to an empty string for non-gcc
compilers so that it's safe to use.
2001-10-18 Pavel Roskin <proski@gnu.org>
* view.c (init_growing_view): Revert last change, it was wrong.

View File

@ -53,6 +53,10 @@
#include <glib.h>
#ifndef __GNUC__
#define __attribute__()
#endif
#include "fs.h"
#include "mem.h"
#include "util.h"