diff options
author | David Robillard <d@drobilla.net> | 2019-10-17 14:52:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-17 14:52:51 +0200 |
commit | 3834185601c6c1a16cd9c9415c7af9c8c4d18784 (patch) | |
tree | 3860c4efe73451eac4d9073a83e0bf743998e62d /test | |
parent | 5d5d2b96b1552b8ed8245765be6dc903fa5c5fd4 (diff) | |
download | lilv-3834185601c6c1a16cd9c9415c7af9c8c4d18784.tar.gz lilv-3834185601c6c1a16cd9c9415c7af9c8c4d18784.tar.bz2 lilv-3834185601c6c1a16cd9c9415c7af9c8c4d18784.zip |
Fix Windows warnings
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 |