summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-05-17 02:03:16 +0100
committerPeter Powell <petpow@saberuk.com>2013-06-06 01:44:57 +0100
commitbbeb5ea38686dfeb9537860770bbdb3bd2f9cd3f (patch)
tree3245e00a5758da375b57223535ecac90c13aea2d /win/inspircd_win32wrapper.h
parentcc79342f50ce345657fca16c90f1d37a9228d8ad (diff)
Use iostream instead of C-style file operations.
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r--win/inspircd_win32wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 38754d5df..8234dfefe 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -101,6 +101,9 @@ __inline void sleep(int seconds) { Sleep(seconds * 1000); }
#define popen _popen
#define pclose _pclose
+/* _access */
+#define access _access
+
/* IPV4 only convert string to address struct */
__inline int inet_aton(const char *cp, struct in_addr *addr)
{