moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
--- OpenAL32/Include/alu.h.orig
|
||||
+++ OpenAL32/Include/alu.h
|
||||
@@ -224,6 +224,29 @@
|
||||
return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
|
||||
}
|
||||
|
||||
+#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
|
||||
+ #ifndef _FPU_EXTENDED
|
||||
+ #define _FPU_EXTENDED 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_DOUBLE
|
||||
+ #define _FPU_DOUBLE 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_SINGLE
|
||||
+ #define _FPU_SINGLE 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_NEAREST
|
||||
+ #define _FPU_RC_NEAREST 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_DOWN
|
||||
+ #define _FPU_RC_DOWN 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_UP
|
||||
+ #define _FPU_RC_UP 0
|
||||
+ #endif
|
||||
+ #ifndef _FPU_RC_ZERO
|
||||
+ #define _FPU_RC_ZERO 0
|
||||
+ #endif
|
||||
+#endif
|
||||
|
||||
static __inline int SetMixerFPUMode(void)
|
||||
{
|
||||
@@ -0,0 +1,17 @@
|
||||
diff -Nur openal-soft-1.13-old//CMakeLists.txt openal-soft-1.13/CMakeLists.txt
|
||||
--- openal-soft-1.13-old//CMakeLists.txt 2011-04-15 10:39:56.860000093 +0300
|
||||
+++ openal-soft-1.13/CMakeLists.txt 2011-04-15 11:30:47.593000620 +0300
|
||||
@@ -246,10 +246,10 @@
|
||||
MESSAGE(FATAL_ERROR "No sleep function found!")
|
||||
ENDIF()
|
||||
|
||||
- CHECK_C_COMPILER_FLAG(-pthread HAVE_PTHREAD)
|
||||
+ CHECK_C_COMPILER_FLAG(-lpthread HAVE_PTHREAD)
|
||||
IF(HAVE_PTHREAD)
|
||||
- ADD_DEFINITIONS(-pthread)
|
||||
- SET(EXTRA_LIBS ${EXTRA_LIBS} -pthread)
|
||||
+ ADD_DEFINITIONS(-lpthread)
|
||||
+ SET(EXTRA_LIBS ${EXTRA_LIBS} -lpthread)
|
||||
ENDIF()
|
||||
|
||||
# We need pthreads outside of Windows
|
||||
Reference in New Issue
Block a user