summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-vg-json.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-28 11:17:51 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-28 11:17:51 +0100
commit188874e289ffb83fd6344d7efe2680c5ad365fd3 (patch)
tree1702d7b5e03e8b939a4fb8cf020bc36b4b72adc4 /src/examples/evas/evas-vg-json.c
parent5fd272d0381f5cda6b8b992e14072f884965a415 (diff)
examples - use putenv, not setenv for porting reasons
putenv is more portable than setenv, so usethat instead. this nukes warnings on windows as evil is meant to go private and you thus have no setenv anymore.
Diffstat (limited to 'src/examples/evas/evas-vg-json.c')
-rw-r--r--src/examples/evas/evas-vg-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/evas/evas-vg-json.c b/src/examples/evas/evas-vg-json.c
index d0176dbd72..a6c0969381 100644
--- a/src/examples/evas/evas-vg-json.c
+++ b/src/examples/evas/evas-vg-json.c
@@ -59,7 +59,7 @@ int
59main(void) 59main(void)
60{ 60{
61 //Cairo backend is not supported. 61 //Cairo backend is not supported.
62 setenv("ECTOR_BACKEND", "default", 1); 62 putenv("ECTOR_BACKEND=default");
63 63
64 if (!ecore_evas_init()) 64 if (!ecore_evas_init())
65 return EXIT_FAILURE; 65 return EXIT_FAILURE;