Displaying 2 results from an estimated 2 matches for "_putenv".
Did you mean:
putenv
2009 Nov 25
1
[PATCH] daemon/Win32: Replace setenv with Win32 equivalent.
..._H
+#include <windows.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -167,6 +171,9 @@ main (int argc, char *argv[])
perror ("sigaction SIGPIPE"); /* but try to continue anyway ... */
#endif
+#ifdef WIN32
+#define setenv(n,v,f) _putenv(n "=" v)
+#endif
/* Set up a basic environment. After we are called by /init the
* environment is essentially empty.
* https://bugzilla.redhat.com/show_bug.cgi?id=502074#c5
--
1.6.5.2
2019 Jul 21
2
Missing hivex.h error when compiling on macOS 10.14 (Mojave)
...r matches strerror... yes
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking for putenv compatible with GNU and SVID... no
checking whether _putenv is declared... no
checking whether select supports a 0 argument... (cached) yes
checking whether select detects invalid fds... (cached) yes
checking whether setenv validates arguments... yes
checking for struct sigaction.sa_sigaction... yes
checking for sigprocmask... (cached) yes
checking whether...