swr: [rasterizer core] don't assume linux is 64-bit
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 24 Mar 2016 16:07:32 +0000 (11:07 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 25 Mar 2016 19:43:13 +0000 (14:43 -0500)
src/gallium/drivers/swr/rasterizer/core/utils.h

index b9dc48c4fd7898aa4e6bad33a59e56be296afb1a..45b0e20a91a74acc5bc7c09607d0e64a303bb2b0 100644 (file)
@@ -46,8 +46,7 @@ void OpenBitmapFromFile(
     uint32_t *height);
 #endif
 
-/// @todo assume linux is always 64 bit
-#if defined(_WIN64) || defined(__linux__) || defined(__gnu_linux__)
+#if defined(_WIN64) || defined(__x86_64__)
 #define _MM_INSERT_EPI64 _mm_insert_epi64
 #define _MM_EXTRACT_EPI64 _mm_extract_epi64
 #else