1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/lang/icc/files/patch-include::dvec.h
Alexander Leidinger 9dda9e7ad5 Update to 8.1.032.
2005-06-04 16:25:50 +00:00

25 lines
889 B
C

--- include/dvec.h.orig Sat Jun 4 17:31:49 2005
+++ include/dvec.h Sat Jun 4 17:34:42 2005
@@ -38,7 +38,7 @@
/* If using MSVC5.0, explicit keyword should be used */
-#if (_MSC_VER >= 1100) || defined (__linux__) || defined(__QNX__)
+#if (_MSC_VER >= 1100) || defined (__linux__) || defined(__QNX__) || defined (__FreeBSD__)
#define EXPLICIT explicit
#else
#if (__INTEL_COMPILER)
@@ -50,10 +50,10 @@
#endif
/* Figure out whether and how to define the output operators */
-#if defined(_IOSTREAM_) || defined(_CPP_IOSTREAM)
+#if defined(_IOSTREAM_) || defined(_CPP_IOSTREAM) || defined(_STLP_IOSTREAM)
#define DVEC_DEFINE_OUTPUT_OPERATORS
#define DVEC_STD std::
-#elif defined(_INC_IOSTREAM) || defined(_IOSTREAM_H_)
+#elif defined(_INC_IOSTREAM) || defined(_IOSTREAM_H_) || defined(_STLP_IOSTREAM_H)
#define DVEC_DEFINE_OUTPUT_OPERATORS
#define DVEC_STD
#endif