]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Wrap #define max in an #ifndef to avoid conflict with squid compat.h
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 8 Mar 2009 13:22:37 +0000 (14:22 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sun, 8 Mar 2009 13:22:37 +0000 (14:22 +0100)
helpers/basic_auth/MSNT/smblib-priv.h

index aad6ffb2b4dcfa3e3464ab2c7bb2a2edea376606..859b6b9253d9527c4922bcff1ed7c8479199da6b 100644 (file)
@@ -33,7 +33,9 @@
 
 #include "byteorder.h"         /* Hmmm ... hot good */
 
+#ifndef max
 #define max(a,b) (a < b ? b : a)
+#endif
 
 #define SMB_DEF_IDF 0x424D53FF /* "\377SMB" */