project-navigation
Personal tools

Author Topic: intrin.h - ?  (Read 2549 times)

pleiades

  • Guest
intrin.h - ?
« on: September 04, 2006, 03:56:45 pm »
--- src/ref_gl/gl_rmain.c       (revision 3305)
+++ src/ref_gl/gl_rmain.c       (working copy)
@@ -27,8 +27,14 @@
 #include <ctype.h>

 #if defined DEBUG && defined _MSC_VER
+#if _MSC_VER >= 1400
 #include <intrin.h>
+#else
+#include <mmintrin.h>
+#include <emmintrin.h>
+#include <xmmintrin.h>
 #endif
+#endif

 viddef_t vid;

Index: src/server/sv_game.c
===================================================================
--- src/server/sv_game.c        (revision 3305)
+++ src/server/sv_game.c        (working copy)
@@ -34,8 +34,14 @@
 #include "server.h"

 #if defined DEBUG && defined _MSC_VER
+#if _MSC_VER >= 1400
 #include <intrin.h>
+#else
+#include <mmintrin.h>
+#include <emmintrin.h>
+#include <xmmintrin.h>
 #endif
+#endif

 game_export_t *ge;

Index: src/ports/win32/vid_dll.c
===================================================================
--- src/ports/win32/vid_dll.c   (revision 3305)
+++ src/ports/win32/vid_dll.c   (working copy)
@@ -31,8 +31,14 @@
 #include "winquake.h"

 #if defined DEBUG && defined _MSC_VER
+#if _MSC_VER >= 1400
 #include <intrin.h>
+#else
+#include <mmintrin.h>
+#include <emmintrin.h>
+#include <xmmintrin.h>
 #endif
+#endif

 LONG CDAudio_MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);

Index: src/ports/win32/sys_win.c
===================================================================
--- src/ports/win32/sys_win.c   (revision 3305)
+++ src/ports/win32/sys_win.c   (working copy)
@@ -37,8 +37,14 @@
 #include "conproc.h"

 #if defined DEBUG && defined _MSC_VER
+#if _MSC_VER >= 1400
 #include <intrin.h>
+#else
+#include <mmintrin.h>
+#include <emmintrin.h>
+#include <xmmintrin.h>
 #endif
+#endif

 #define MINIMUM_WIN_MEMORY     0x0a00000
 #define MAXIMUM_WIN_MEMORY     0x1000000
Index: src/qcommon/common.c
===================================================================
--- src/qcommon/common.c        (revision 3305)
+++ src/qcommon/common.c        (working copy)
@@ -29,8 +29,14 @@
 #include <limits.h>

 #if defined DEBUG && defined _MSC_VER
+#if _MSC_VER >= 1400
 #include <intrin.h>
+#else
+#include <mmintrin.h>
+#include <emmintrin.h>
+#include <xmmintrin.h>
 #endif
+#endif

 #define        MAXPRINTMSG     4096
 #define MAX_NUM_ARGVS  50
Index: src/game/g_main.c
===================================================================
--- src/game/g_main.c   (revision 3305)
+++ src/game/g_main.c   (working copy)
@@ -34,8 +34,14 @@
 #include "g_local.h"

 #if defined DEBUG && defined _MSC_VER
+#if _MSC_VER >= 1400
 #include <intrin.h>
+#else
+#include <mmintrin.h>
+#include <emmintrin.h>
+#include <xmmintrin.h>
 #endif
+#endif