summaryrefslogtreecommitdiffstats
path: root/test/lilv_test_utils.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-14 11:50:43 -0400
committerDavid Robillard <d@drobilla.net>2022-07-18 20:18:28 -0400
commit55dc97a32eeeb42012ce1e7d28ed99ea537f4d2f (patch)
treec0fc78d78609c1bd3e880499bd0e80a4498b0be3 /test/lilv_test_utils.c
parent891f4044c92117517041c9e7ee4099b75bd493da (diff)
downloadlilv-55dc97a32eeeb42012ce1e7d28ed99ea537f4d2f.tar.gz
lilv-55dc97a32eeeb42012ce1e7d28ed99ea537f4d2f.tar.bz2
lilv-55dc97a32eeeb42012ce1e7d28ed99ea537f4d2f.zip
Switch to meson build system
Diffstat (limited to 'test/lilv_test_utils.c')
-rw-r--r--test/lilv_test_utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/lilv_test_utils.c b/test/lilv_test_utils.c
index f658f1b..941509a 100644
--- a/test/lilv_test_utils.c
+++ b/test/lilv_test_utils.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L /* for setenv */
-
#include "lilv_test_utils.h"
#include "../src/filesystem.h"
@@ -47,7 +45,7 @@ lilv_test_env_new(void)
// Set custom LV2_PATH in build directory to only use test data
char* test_path = lilv_path_canonical(LILV_TEST_DIR);
- char* lv2_path = lilv_strjoin(test_path, "/test_lv2_path", NULL);
+ char* lv2_path = lilv_strjoin(test_path, "/lv2", NULL);
LilvNode* path = lilv_new_string(world, lv2_path);
lilv_world_set_option(world, LILV_OPTION_LV2_PATH, path);
free(lv2_path);