diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-06-05 17:52:39 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-06-05 17:52:39 -0700 |
commit | f00ac52c5d593fcb761fc316b2582bb06158035c (patch) | |
tree | bec88a8a69c4a912606636c9df6283c154962fef /win | |
parent | d9d99cd02dadf34bfcc220734ba0c422f0acb3e6 (diff) | |
parent | 5d0b2b7cfccf057e7abab94c41065f94420899cd (diff) |
Merge pull request #544 from SaberUK/master+kill-maxbuf
Purge MAXBUF in favour of a configuration option.
Diffstat (limited to 'win')
-rw-r--r-- | win/config.h.cmake | 1 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/win/config.h.cmake b/win/config.h.cmake index 05c3ce2f9..dbe705ceb 100644 --- a/win/config.h.cmake +++ b/win/config.h.cmake @@ -9,7 +9,6 @@ #define MOD_PATH "@MODULE_PATH@"
#define DATA_PATH "@DATA_PATH@"
#define LOG_PATH "@LOG_PATH@"
-#define MAXBUF 514
#include "inspircd_win32wrapper.h"
#include "threadengines/threadengine_win32.h"
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) { |