Fix build on linux; macos is still messed up

svn:r290
This commit is contained in:
Nick Mathewson 2003-05-09 03:37:18 +00:00
parent 48b0c839b5
commit fb435daa28

View File

@ -8,6 +8,9 @@
/* /*
* Changes : * Changes :
* $Log$ * $Log$
* Revision 1.4 2003/05/09 03:37:18 nickm
* Fix build on linux; macos is still messed up
*
* Revision 1.3 2003/05/09 02:41:27 nickm * Revision 1.3 2003/05/09 02:41:27 nickm
* One is the language; the other is the compiler * One is the language; the other is the compiler
* *
@ -44,7 +47,7 @@ void log(int severity, const char *format, ...);
#ifdef __GNUC__ #ifdef __GNUC__
#define log_fn(severity, format, args...) \ #define log_fn(severity, format, args...) \
log((severity), __PRETTY_FUNCTION__ # "(): " # format, ##args) log((severity), __PRETTY_FUNCTION__ "(): " # format , ##args)
#else #else
#define log_fn log #define log_fn log
#endif #endif