diff options
| author | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2019-02-24 17:58:43 +0000 |
|---|---|---|
| committer | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2019-02-24 17:58:43 +0000 |
| commit | 03599c1281835f886e98da7d15244075ec88913f (patch) | |
| tree | 56bcc4e6ecf725bc6e1c251e4787d185b2424533 /tests | |
| parent | 70250813b7619de9f702b1106ea086941a5ba153 (diff) | |
Check for '#if defined( WIN32 )' in test apps
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playraw.cpp | 2 | ||||
| -rw-r--r-- | tests/playsaw.cpp | 2 | ||||
| -rw-r--r-- | tests/record.cpp | 2 | ||||
| -rw-r--r-- | tests/teststops.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/playraw.cpp b/tests/playraw.cpp index f11f83c..0216f4a 100644 --- a/tests/playraw.cpp +++ b/tests/playraw.cpp @@ -44,7 +44,7 @@ typedef double MY_TYPE; */ // Platform-dependent sleep routines. -#if defined( __WINDOWS_ASIO__ ) || defined( __WINDOWS_DS__ ) || defined( __WINDOWS_WASAPI__ ) +#if defined( WIN32 ) #include <windows.h> #define SLEEP( milliseconds ) Sleep( (DWORD) milliseconds ) #else // Unix variants diff --git a/tests/playsaw.cpp b/tests/playsaw.cpp index d1953b6..1f7bd52 100644 --- a/tests/playsaw.cpp +++ b/tests/playsaw.cpp @@ -41,7 +41,7 @@ typedef double MY_TYPE; */ // Platform-dependent sleep routines. -#if defined( __WINDOWS_ASIO__ ) || defined( __WINDOWS_DS__ ) || defined( __WINDOWS_WASAPI__ ) +#if defined( WIN32 ) #include <windows.h> #define SLEEP( milliseconds ) Sleep( (DWORD) milliseconds ) #else // Unix variants diff --git a/tests/record.cpp b/tests/record.cpp index 0e48f77..faa9789 100644 --- a/tests/record.cpp +++ b/tests/record.cpp @@ -38,7 +38,7 @@ typedef double MY_TYPE; */ // Platform-dependent sleep routines. -#if defined( __WINDOWS_ASIO__ ) || defined( __WINDOWS_DS__ ) || defined( __WINDOWS_WASAPI__ ) +#if defined( WIN32 ) #include <windows.h> #define SLEEP( milliseconds ) Sleep( (DWORD) milliseconds ) #else // Unix variants diff --git a/tests/teststops.cpp b/tests/teststops.cpp index 6159b88..0b85b48 100644 --- a/tests/teststops.cpp +++ b/tests/teststops.cpp @@ -21,7 +21,7 @@ #define REPETITIONS 10
// Platform-dependent sleep routines.
-#if defined( __WINDOWS_ASIO__ ) || defined( __WINDOWS_DS__ ) || defined( __WINDOWS_WASAPI__ )
+#if defined( WIN32 )
#include <windows.h>
#define SLEEP( milliseconds ) Sleep( (DWORD) milliseconds )
#else // Unix variants
|
