Mercurial > dwindows
changeset 2170:d871f636b46e
Win: Add a few more forwarders for deprecated POSIX functions.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 04 Oct 2020 23:50:36 +0000 |
parents | a89841c500f8 |
children | 6533fc42c951 |
files | dwcompat.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dwcompat.h Sun Oct 04 21:55:29 2020 +0000 +++ b/dwcompat.h Sun Oct 04 23:50:36 2020 +0000 @@ -232,9 +232,14 @@ # define strdup(a) _strdup(a) # define snprintf _snprintf # define unlink(a) _unlink(a) +# define rmdir(a) _rmdir(a) # define close(a) _close(a) +# define open(a, b) _open(a, b) +# define read(a, b, c) _read(a, b, c) # define fdopen(a, b) _fdopen(a, b) +# define getcwd(a, b) _getcwd(a, b) # define chdir(a) _chdir(a) +# define getpid() _getpid() #ifndef _DW_INTERNAL # define mkdir(a,b) _mkdir(a) #endif