mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix build on linux; macos is still messed up
svn:r290
This commit is contained in:
parent
48b0c839b5
commit
fb435daa28
@ -8,6 +8,9 @@
|
||||
/*
|
||||
* Changes :
|
||||
* $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
|
||||
* One is the language; the other is the compiler
|
||||
*
|
||||
@ -44,7 +47,7 @@ void log(int severity, const char *format, ...);
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define log_fn(severity, format, args...) \
|
||||
log((severity), __PRETTY_FUNCTION__ # "(): " # format, ##args)
|
||||
log((severity), __PRETTY_FUNCTION__ "(): " # format , ##args)
|
||||
#else
|
||||
#define log_fn log
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user