diff options
Diffstat (limited to 'lang/icc/files/patch-include__ivec.h')
-rw-r--r-- | lang/icc/files/patch-include__ivec.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/icc/files/patch-include__ivec.h b/lang/icc/files/patch-include__ivec.h new file mode 100644 index 000000000000..f250e87f4c94 --- /dev/null +++ b/lang/icc/files/patch-include__ivec.h @@ -0,0 +1,24 @@ +--- include/ivec.h.orig Sat Jun 4 17:36:19 2005 ++++ include/ivec.h Sat Jun 4 17:47:23 2005 +@@ -23,7 +23,7 @@ + #include <assert.h> + + /* 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) +@@ -35,10 +35,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 IVEC_DEFINE_OUTPUT_OPERATORS + #define IVEC_STD std:: +-#elif defined(_INC_IOSTREAM) || defined(_IOSTREAM_H_) ++#elif defined(_INC_IOSTREAM) || defined(_IOSTREAM_H_) || defined(_STLP_IOSTREAM_H) + #define IVEC_DEFINE_OUTPUT_OPERATORS + #define IVEC_STD + #endif |