--------------------- PatchSet 3716 Date: 2002/02/28 08:28:49 Author: kinkie Branch: ntlm Tag: (none) Log: ICC (Intel's C compiler) understands gcc-isms too (or maybe it just uses gcc's preprocessor). Members: src/auth/ntlm/helpers/winbind/wbntlm.h:1.1.2.6->1.1.2.7 Index: squid/src/auth/ntlm/helpers/winbind/wbntlm.h =================================================================== RCS file: /cvsroot/squid-sf//squid/src/auth/ntlm/helpers/winbind/Attic/wbntlm.h,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -r1.1.2.6 -r1.1.2.7 --- squid/src/auth/ntlm/helpers/winbind/wbntlm.h 23 Jan 2002 23:37:12 -0000 1.1.2.6 +++ squid/src/auth/ntlm/helpers/winbind/wbntlm.h 28 Feb 2002 08:28:49 -0000 1.1.2.7 @@ -47,7 +47,7 @@ #define __DO_DEBUG 0 #endif -#ifdef __GNUC__ /* this is really a gcc-ism */ +#if defined(__GNUC__) || defined(__ICC) /* this is really a gcc-ism */ #define warn(X...) fprintf(stderr,"%s[%d](%s:%d): ", myname, mypid, \ ((__foo=strrchr(__FILE__,'/'))==NULL?__FILE__:__foo+1),\ __LINE__);\ @@ -68,7 +68,7 @@ /* A couple of harmless helper macros */ #define SEND(X) debug("sending '%s' to squid\n",X); printf(X "\n"); -#ifdef __GNUC__ +#if defined(__GNUC__) || defined (__ICC) #define SEND2(X,Y...) debug("sending '" X "' to squid\n",Y); \ printf(X "\n",Y) #else