--- gvpe/src/slog.h 2003/04/02 03:25:17 1.2 +++ gvpe/src/slog.h 2003/10/16 02:41:21 1.4 @@ -1,6 +1,5 @@ /* slog.h -- logging - Copyright (C) 2003 Marc Lehmann This program is free software; you can redistribute it and/or modify @@ -68,7 +67,7 @@ extern void slog_ (const loglevel l, const char *m, ...); -#ifdef __GNUC__ +#if __GNUC__ > 2 # define slog(l, ...) do { if ((l) >= log_level) slog_ (l, __VA_ARGS__); } while (0) #else # define slog slog_