ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/slog.h
(Generate patch)

Comparing gvpe/src/slog.h (file contents):
Revision 1.2 by pcg, Wed Apr 2 03:25:17 2003 UTC vs.
Revision 1.3 by pcg, Sun Apr 6 04:17:36 2003 UTC

66 66
67extern void log_to (int mask); 67extern void log_to (int mask);
68 68
69extern void slog_ (const loglevel l, const char *m, ...); 69extern void slog_ (const loglevel l, const char *m, ...);
70 70
71#ifdef __GNUC__ 71#if __GNUC__ > 2
72# define slog(l, ...) do { if ((l) >= log_level) slog_ (l, __VA_ARGS__); } while (0) 72# define slog(l, ...) do { if ((l) >= log_level) slog_ (l, __VA_ARGS__); } while (0)
73#else 73#else
74# define slog slog_ 74# define slog slog_
75#endif 75#endif
76 76

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines