pkgsrc/lang/icc11/patches/patch-ah
alnsn 622080489d Add Intel C++ compiler version 11.1.080.
Available for NetBSD and Linux on Intel arches.
Approved a while ago by wiz@.
2011-07-20 10:35:17 +00:00

15 lines
570 B
Text

$NetBSD: patch-ah,v 1.1 2011/07/20 10:35:19 alnsn Exp $
Add ifdef(__NetBSD__).
--- icc11/include/intel64/xmmintrin.h.orig 2009-10-12 22:33:06.000000000 +0100
+++ icc11/include/intel64/xmmintrin.h
@@ -455,7 +455,7 @@ extern __m128 __cdecl _mm_cvtsi64_ss(__
/*
* Include the SSE2 definitions for compatibility with gcc.
*/
-#if defined (__linux__) || defined (__QNX__) || defined(__APPLE__) || defined(__FreeBSD__)
+#if defined (__linux__) || defined (__QNX__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
#include <emmintrin.h>
#endif