diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lilv_test.c | 3 | ||||
-rw-r--r-- | test/test.lv2/test.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c index ed8b862..7231c24 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -1482,6 +1482,8 @@ test_ui(void) /*****************************************************************************/ +#ifndef _WIN32 + uint32_t atom_Float = 0; float in = 1.0; float out = 42.0; @@ -1570,7 +1572,6 @@ lilv_make_path(LV2_State_Make_Path_Handle handle, return lilv_path_join(temp_dir, path); } -#ifndef _WIN32 static int test_state(void) { diff --git a/test/test.lv2/test.c b/test/test.lv2/test.c index c1cf4d7..d6802a6 100644 --- a/test/test.lv2/test.c +++ b/test/test.lv2/test.c @@ -22,7 +22,7 @@ #include "lv2/state/state.h" #include "lv2/urid/urid.h" -#ifdef _WIN32 +#ifdef _MSC_VER # include <io.h> # define mkstemp(pat) _mktemp(pat) #endif |