diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-01 11:28:15 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-06-01 11:28:15 -0400 |
commit | 88c6afdf1c83a7ea51225fbb173d910533c51bb0 (patch) | |
tree | 8a1d145018a67b9a7f78d2cfe74c618243137dcc | |
parent | c74913824e580aa909f6e53346401d198314d6a6 (diff) | |
download | egawk-88c6afdf1c83a7ea51225fbb173d910533c51bb0.tar.gz egawk-88c6afdf1c83a7ea51225fbb173d910533c51bb0.tar.bz2 egawk-88c6afdf1c83a7ea51225fbb173d910533c51bb0.zip |
Keep nonposix.h from bothering things on POSIX systems.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | nonposix.h | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2016-06-01 Arnold D. Robbins <arnold@skeeve.com> + + * nonposix.h (getpgrp): Wrap declaration in ifdef so it doesn't + mess things up on POSIX systems (like Solaris). Thanks to + Nelson Beebe for the report. + 2016-05-30 Arnold D. Robbins <arnold@skeeve.com> * main.c (arg_assign): Fully bracket ifdefs around call @@ -57,7 +57,9 @@ int unsetenv (const char *); int setenv (const char *, const char *, int); #endif /* __MINGW32__ */ +#if defined(VMS) || defined(__DJGPP__) || defined(__MINGW32__) int getpgrp(void); +#endif #if defined(__DJGPP__) || defined(__MINGW32__) int getppid(void); |