part 2: fix new/delete operator overloading by not defining on clang
#ifndef SQUID_NEW_H
#define SQUID_NEW_H
-#ifndef __SUNPRO_CC
+#if !defined(__SUNPRO_CC) && !defined(__clang__)
/* Any code using libstdc++ must have externally resolvable overloads
* for void * operator new - which means in the .o for the binary,
* or in a shared library. static libs don't propogate the symbol
xfree(address);
}
-#endif /* __SUNPRO_CC */
+#endif /* !__SUNPRO_CC && !__clang__*/
#endif /* SQUID_NEW_H */