forked from pool/slade
Update disable-sse.patch for current DUMB
This commit is contained in:
parent
ae3a81c728
commit
c54c8654e8
@ -9,7 +9,8 @@ the test needs to happen at runtime.
|
|||||||
|
|
||||||
---
|
---
|
||||||
cmake/unix.cmake | 5 -----
|
cmake/unix.cmake | 5 -----
|
||||||
1 file changed, 5 deletions(-)
|
thirdparty/dumb/helpers/resampler.c | 2 +-
|
||||||
|
2 files changed, 1 insertion(+), 6 deletions(-)
|
||||||
|
|
||||||
Index: SLADE-3.2.6/cmake/unix.cmake
|
Index: SLADE-3.2.6/cmake/unix.cmake
|
||||||
===================================================================
|
===================================================================
|
||||||
@ -27,3 +28,16 @@ Index: SLADE-3.2.6/cmake/unix.cmake
|
|||||||
|
|
||||||
# Enable debug symbols for glib (so gdb debugging works properly with strings etc.)
|
# Enable debug symbols for glib (so gdb debugging works properly with strings etc.)
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
|
||||||
|
Index: SLADE-3.2.6/thirdparty/dumb/helpers/resampler.c
|
||||||
|
===================================================================
|
||||||
|
--- SLADE-3.2.6.orig/thirdparty/dumb/helpers/resampler.c
|
||||||
|
+++ SLADE-3.2.6/thirdparty/dumb/helpers/resampler.c
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#include <math.h>
|
||||||
|
-#if (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__))
|
||||||
|
+#if defined(_USE_SSE) && (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__))
|
||||||
|
#include <xmmintrin.h>
|
||||||
|
#define RESAMPLER_SSE
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user