mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
One is the language; the other is the compiler
svn:r289
This commit is contained in:
parent
0957ffeb83
commit
48b0c839b5
@ -8,6 +8,9 @@
|
||||
/*
|
||||
* Changes :
|
||||
* $Log$
|
||||
* Revision 1.3 2003/05/09 02:41:27 nickm
|
||||
* One is the language; the other is the compiler
|
||||
*
|
||||
* Revision 1.2 2003/05/09 02:25:37 nickm
|
||||
* work on versioning; new log_fn function
|
||||
*
|
||||
@ -39,7 +42,7 @@
|
||||
/* Outputs a message to stdout and also logs the same message using syslog. */
|
||||
void log(int severity, const char *format, ...);
|
||||
|
||||
#ifdef __GNUCC__
|
||||
#ifdef __GNUC__
|
||||
#define log_fn(severity, format, args...) \
|
||||
log((severity), __PRETTY_FUNCTION__ # "(): " # format, ##args)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user