diff options
Diffstat (limited to 'lang/icc/files/patch-include::fvec.h')
-rw-r--r-- | lang/icc/files/patch-include::fvec.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/icc/files/patch-include::fvec.h b/lang/icc/files/patch-include::fvec.h new file mode 100644 index 000000000000..b0a61402485d --- /dev/null +++ b/lang/icc/files/patch-include::fvec.h @@ -0,0 +1,24 @@ +--- include/fvec.h.orig Tue Dec 9 20:16:16 2003 ++++ include/fvec.h Tue Dec 9 20:18:31 2003 +@@ -41,7 +41,7 @@ + #pragma pack(push,16) /* Must ensure class & union 16-B aligned */ + + /* If using MSVC5.0, explicit keyword should be used */ +-#if (_MSC_VER >= 1100) || defined (__linux__) ++#if (_MSC_VER >= 1100) || defined (__linux__) || defined (__FreeBSD__) + #define EXPLICIT explicit + #else + #if (__INTEL_COMPILER) +@@ -53,10 +53,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 FVEC_DEFINE_OUTPUT_OPERATORS + #define FVEC_STD std:: +-#elif defined(_INC_IOSTREAM) || defined(_IOSTREAM_H_) ++#elif defined(_INC_IOSTREAM) || defined(_IOSTREAM_H_) || defined(_STLP_IOSTREAM_H) + #define FVEC_DEFINE_OUTPUT_OPERATORS + #define FVEC_STD + #endif |