summaryrefslogtreecommitdiff
path: root/rc.h
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-17 15:46:42 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:04 +0100
commit67fd3c37e6908795bd86220435a37637c9e16d63 (patch)
tree7237219ed66a726f951d0e7b5ddf0bf20c6b38b7 /rc.h
parent063d3cc3f65f8f5b8dd636b7b8bd07e132e5aa28 (diff)
first stab at getting execve.c only compiled when needed
Diffstat (limited to 'rc.h')
-rw-r--r--rc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.h b/rc.h
index a85b27f..e94d08b 100644
--- a/rc.h
+++ b/rc.h
@@ -220,8 +220,12 @@ extern void sigint(int);
extern void exec(List *, bool);
extern void doredirs(void);
+#if HASH_BANG
+#define rc_execve execve
+#else
/* execve.c */
extern int my_execve(char *, char **, char **);
+#endif
/* footobar.c */
extern char **list2array(List *, bool);