Skip to content
Snippets Groups Projects
Commit b8eb2486 authored by Oleg Grenrus's avatar Oleg Grenrus Committed by Herbert Valerio Riedel
Browse files

Remove HSUNIX_EXECVPE_H_NO_COMPAT hack


Now we can finally remove the hack introduced via

59861061
256b1918
7bad9d7d

Co-authored-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent aa53c6de
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@
#include <string.h>
#include <errno.h>
#define HSUNIX_EXECVPE_H_NO_COMPAT
#include "execvpe.h"
#if !defined(execvpe) && !HAVE_DECL_EXECVPE
......
......@@ -15,6 +15,8 @@
which now must be passed as part of `OpenFileFlags`
(e.g. `defaultFileFlags { creat = Just mode }`) (#58)
* Remove deprecated `execvpe(3)` legacy-emulation CPP macro
## 2.7.2.2 *May 2017*
* Bundled with GHC 8.2.1
......
......@@ -10,16 +10,4 @@
extern int
__hsunix_execvpe(const char *name, char *const argv[], char *const envp[]);
// this hack is needed for `process`; to be removed in unix-2.8
#ifndef HSUNIX_EXECVPE_H_NO_COMPAT
#include "HsUnixConfig.h"
#if HAVE_EXECVPE
# include <unistd.h>
extern int
execvpe(const char *name, char *const argv[], char *const envp[]);
#else
# define execvpe(name,argv,envp) __hsunix_execvpe(name,argv,envp)
#endif
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment