diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-26 16:46:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-26 16:46:07 +0000 |
commit | a6e0557f91998c30469030f08464cc8cb6c11fd6 (patch) | |
tree | eec317b26628f8fcce2c4939a4b31a3d8b42e8d9 /win | |
parent | 85966c30503b31e7133f018e19ddc8a79cd68307 (diff) |
#define _popen popen
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9036 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r-- | win/inspircd_win32wrapper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 9e8e6fb91..943e50cb8 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -84,6 +84,9 @@ /* strcasecmp is not defined on windows by default */ #define strcasecmp _stricmp +/* this standard function is nonstarard. go figure. */ +#define popen _popen + /* Error macros need to be redirected to winsock error codes */ #define ETIMEDOUT WSAETIMEDOUT #define ECONNREFUSED WSAECONNREFUSED @@ -137,6 +140,7 @@ const char * dlerror(); /* Unix-style directory searching functions */ #define chmod(filename, mode) + struct dirent { char d_name[MAX_PATH]; |