git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10750
d7cf8633-e32d-0410-b094-
e92efae38249
# if defined(__i386__)
# define DP_ARCH_STR "686"
# define SSE_POSSIBLE
+# ifdef __SSE__
+# define SSE_PRESENT
+# endif
+# ifdef __SSE2__
+# define SSE2_PRESENT
+# endif
# elif defined(__x86_64__)
# define DP_ARCH_STR "x86_64"
# define SSE_PRESENT
+# define SSE2_PRESENT
# elif defined(__powerpc__)
# define DP_ARCH_STR "ppc"
# endif
#elif defined(_WIN64)
# define DP_ARCH_STR "x86_64"
# define SSE_PRESENT
+# define SSE2_PRESENT
#elif defined(WIN32)
# define DP_ARCH_STR "x86"
# define SSE_POSSIBLE
#ifdef NO_SSE
# undef SSE_PRESENT
# undef SSE_POSSIBLE
+# undef SSE2_PRESENT
#endif
/// incremented every frame, never reset