]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/debug.cc
ad7ce0eed5fbdf14e6c11e956a5b2f6a2ad3a836
2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "compat/debug.h"
13 int debug_enabled
= 0;
15 #if !defined(__GNUC__) && !defined(__SUNPRO_CC)
16 /* under gcc a macro define in compat/debug.h is used instead */
19 debug(const char *format
,...)
24 va_start (args
,format
);
25 vfprintf(stderr
,format
,args
);
29 #endif /* __GNUC__ || __SUNPRO_CC */