summaryrefslogtreecommitdiff
path: root/header_checks
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-02-12 20:11:44 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-02-12 20:22:28 +0000
commitd6294fa22b88187e44391c1c8ca64b1ebdf14533 (patch)
tree793733796eda67fdbea1fde4c83023bf3fe7f579 /header_checks
parenta57c7f751023fe1d1edeabbf8683574ac7497e5e (diff)
downloadefl-d6294fa22b88187e44391c1c8ca64b1ebdf14533.tar.gz
Revert the env object because it's broken portability - please redo
setenv and unsetenv are not portable. i explained to you at fosdem there are issues and it's why i used putenv in the original implementation and even though it's a pain (the string tou pass to putenv is a pointer used literallt from there on in and you get it from getenv, thus making ownership a pain -this is a libc issue we can't readily solve). use putenv like the original code. then put it back in. vtorri now has windows porting issues with the setenv use. i knew there was a reason that still existed... in addition your in_sync stuff is broken. psuedocode: // assuming BLAGH env is not set to anything here c = efl_core_env_get(global_env, "BLAH"); ... putenv("BLAH=10"); ... c = efl_core_env_Get(global_env, "BLAH"); i will get NULL in both cases for c ... but i should get "10" for the 2nd in reality. reality is lots of code across application code and libraries will at times mess with the environment. it has to work with this. the prior implementation did work with this. Revert "ecore: here comes a env object" This reverts commit 2373d5db5b4cd5dfe139aa2a10017ef61b28b5ce. Revert "efl_task: remove env from this object" This reverts commit c3d69f66a69c0def357a5c373a13343e1c01ff5d.
Diffstat (limited to 'header_checks')
-rw-r--r--header_checks/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index 066d228a83..b23e774ec1 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -53,8 +53,7 @@ header_checks = [
'langinfo.h',
'locale.h',
'uv.h',
- 'ws2tcpip.h',
- 'crt_externs.h'
+ 'ws2tcpip.h'
]
function_checks = [