diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-05-12 10:34:32 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-05-12 10:34:32 +0300 |
commit | 7458e696b5563f64e4da81ae95f88c7f36896ab8 (patch) | |
tree | 2911cc52af37c8f095d8247519d7ee6540b47e2c /nonposix.h | |
parent | a6df7afc605079df7d85318846a522ef64aaa44d (diff) | |
download | egawk-7458e696b5563f64e4da81ae95f88c7f36896ab8.tar.gz egawk-7458e696b5563f64e4da81ae95f88c7f36896ab8.tar.bz2 egawk-7458e696b5563f64e4da81ae95f88c7f36896ab8.zip |
Fix compilation warnings in MinGW builds.
Diffstat (limited to 'nonposix.h')
-rw-r--r-- | nonposix.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -43,4 +43,22 @@ int w32_status_to_termsig (unsigned); +/* Prototypes of for Posix functions for which we define replacements + in pc/ files. */ + +/* getid.c */ +unsigned int getuid (void); +unsigned int geteuid (void); +unsigned int getgid (void); +unsigned int getegid (void); + +/* gawkmisc.pc */ +int unsetenv (const char *); +int setenv (const char *, const char *, int); +#endif /* __MINGW32__ */ + +int getpgrp(void); + +#if defined(__DJGPP__) || defined(__MINGW32__) +int getppid(void); #endif |