test-utils: Use g_setenv instead of setenv
Apparently there is no setenv function on Windows so it's more portable to use g_setenv instead. Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
671a4dfb34
commit
f7b24d88f4
@ -24,7 +24,7 @@ test_utils_init (TestUtilsGTestFixture *fixture,
|
||||
"$ make test-report");
|
||||
counter++;
|
||||
|
||||
setenv ("COGL_X11_SYNC", "1", 0);
|
||||
g_setenv ("COGL_X11_SYNC", "1", 0);
|
||||
|
||||
state->ctx = cogl_context_new (NULL, &error);
|
||||
if (!state->ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user