diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-03 22:25:13 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-03 22:26:18 +0100 |
commit | 5740003e06f0c585460501514f3352f5e105c98c (patch) | |
tree | c70ca6e115f9420e6aab09b72f454d1bc7ad45df /include | |
parent | 03632e32eb1d2e8f5d41ddc0f81bc6eff6a343c9 (diff) |
Simplify code via AC_USE_SYSTEM_EXTENSIONS
`AC_USE_SYSTEM_EXTENSIONS` takes care of defining feature_test_macros(7)
thereby allowing us to remove a few manual `#define`s
Diffstat (limited to 'include')
-rw-r--r-- | include/HsUnix.h | 4 | ||||
-rw-r--r-- | include/execvpe.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h index ba3e053..cfdddb4 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -19,10 +19,6 @@ #undef PACKAGE_TARNAME #undef PACKAGE_VERSION -#ifdef solaris2_HOST_OS -#define _POSIX_PTHREAD_SEMANTICS -#endif - #include <stdlib.h> #include <stdio.h> diff --git a/include/execvpe.h b/include/execvpe.h index 1fd2fbb..63cd042 100644 --- a/include/execvpe.h +++ b/include/execvpe.h @@ -14,7 +14,6 @@ __hsunix_execvpe(const char *name, char *const argv[], char *const envp[]); #ifndef HSUNIX_EXECVPE_H_NO_COMPAT #include "HsUnixConfig.h" #if HAVE_EXECVPE -# define _GNU_SOURCE # include <unistd.h> extern int execvpe(const char *name, char *const argv[], char *const envp[]); |