]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
cf_gen.cc: work around brokenness in Intel's compiler wrt 64-bit fstreams
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 9 Aug 2011 10:04:54 +0000 (12:04 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 9 Aug 2011 10:04:54 +0000 (12:04 +0200)
src/cf_gen.cc

index 51dac3cc33c30e0d59032efd5ddd7916614b889f..d2617156c7f59cff7913b18e51ebda8bf1f001c1 100644 (file)
  *                      administrator.
  *****************************************************************************/
 
+/*
+ * hack around a bug in intel's c++ compiler's libraries which do not
+ * correctly support 64-bit iostreams
+ */
+#if defined(__INTEL_COMPILER) && defined(_FILE_OFFSET_BITS) && \
+   _FILE_OFFSET_BITS==64
+#undef _FILE_OFFSET_BITS
+#endif
+
 #include "config.h"
 #include "util.h"