summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-05-16 16:51:51 +1000
committerTony Cook <tony@develop-help.com>2017-01-19 11:10:59 +1100
commit564894eac8e9ca301638cfa07ae8791b6132f146 (patch)
tree626b94ee2fa2f30aae93f255771bdfd453b78007 /unixish.h
parentfc408859b7454742bb5eff25287a44d5d1256f78 (diff)
downloadperl-564894eac8e9ca301638cfa07ae8791b6132f146.tar.gz
(perl #126228) partly revert 8cc95fdb and fix a3c8358c
a3c8358c changed: -#define dXSUB_SYS int dummy +#define dXSUB_SYS which made dXSUB_SYS into not-a-declaration, this apparently broke something, since 8cc95fdb then went through all the definitions of dXSUB_SYS, made each of them into not-a-declaration and then ensured ExtUtilis::Miniperl emitted dXSUB_SYS in a place where it didn't matter whether it was a declaration or a statement. When these changes were made perl.h didn't have dNOOP, but now we do, so we can make dXSUB_SYS a declaration again, as its name implies. Based on a patch originally created by Daniel Dragan (bulk88).
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unixish.h b/unixish.h
index e05cb6a4f3..4cd8e43833 100644
--- a/unixish.h
+++ b/unixish.h
@@ -159,7 +159,7 @@ int afstat(int fd, struct stat *statb);
#define BIT_BUCKET "/dev/null"
-#define dXSUB_SYS
+#define dXSUB_SYS dNOOP
#ifndef NO_ENVIRON_ARRAY
#define USE_ENVIRON_ARRAY