Commit 48b0c839 authored by Nick Mathewson's avatar Nick Mathewson 🐻
Browse files

One is the language; the other is the compiler


svn:r289
parent 0957ffeb
......@@ -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
......
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