blob: 1fd2fbb02d2165eaefcfd6d1585022496f2adc26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* ----------------------------------------------------------------------------
(c) The University of Glasgow 2004
Interface for code in cbits/execvpe.c
------------------------------------------------------------------------- */
#ifndef HSUNIX_EXECVPE_H
#define HSUNIX_EXECVPE_H
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
# define _GNU_SOURCE
# 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
// implemented in cbits/ghcrts.c
extern void pPrPr_disableITimers (void);
#endif
|