Commit fb435daa authored by Nick Mathewson's avatar Nick Mathewson 🌉
Browse files

Fix build on linux; macos is still messed up


svn:r290
parent 48b0c839
...@@ -8,6 +8,9 @@ ...@@ -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, ...); ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment