shithub: libsamplerate

Download patch

ref: edc211fd336b664eab2788bb3f541a66fa19ef7a
parent: d8d6e97062b2f8e3f21c284bc48055555dd5d50d
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Mon Mar 17 09:38:07 EDT 2008

MinGW tweaks.

--- a/Win32/config.h
+++ b/Win32/config.h
@@ -198,5 +198,3 @@
 */
 
 #define inline __inline
-
-#define sleep _sleep
--- a/tests/util.h
+++ b/tests/util.h
@@ -35,3 +35,14 @@
 
 double calculate_snr (float *data, int len, int expected_peaks) ;
 
+#if OS_IS_WIN32
+/*
+**	Extra Win32 hacks.
+**
+**	Despite Microsoft claim of windows being POSIX compatibile it has '_sleep'
+**	instead of 'sleep'.
+*/
+
+#define sleep _sleep
+#endif
+