Commit 74e2d3f3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Seems I have either hit a GCC bug or a lack of imagination in the

C-standardisation.  (Even money if you ask me...)

GCC users will just have to live with marginally works docs.
parent 0008c89e
...@@ -80,7 +80,13 @@ SLTM(SessOpen, "Client connection opened", ...@@ -80,7 +80,13 @@ SLTM(SessOpen, "Client connection opened",
SLTM(SessClose, "Client connection closed", SLTM(SessClose, "Client connection closed",
"SessionClose is the last record for any client connection.\n\n" "SessionClose is the last record for any client connection.\n\n"
"reason\n Why the connection closed.\n\n" "reason\n Why the connection closed.\n\n"
#ifdef __clang__
/*
* GCC barfs at this construct, but we have no way to ask compiler
* if it is _not_ a GCC compiler since CLANG also defines __GNUC__
*/
#include <tbl/sess_close.h> #include <tbl/sess_close.h>
#endif
"duration\n How long the session were open.\n\n" "duration\n How long the session were open.\n\n"
"Nreq\n How many requests on session.\n\n" "Nreq\n How many requests on session.\n\n"
"Npipe\n If 'pipe' were used on session.\n\n" "Npipe\n If 'pipe' were used on session.\n\n"
......
Markdown is supported
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