summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-12-03 16:26:39 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-12-03 16:26:39 +0000
commit46c537271d10f3c22406642f5064b8653367d542 (patch)
treed4fca302dd2d5bec47906595d9fab2479dfe3c57 /include
parentedfb74f6e6754e2deac33984d87da134646c0517 (diff)
BUILD : 1.7.19 (1316) BUGS : 802 NOTES : Added support for MSVC++ 2008 Express (damn names.. gcc-4.4 would be so much shorter)
git-svn-id: svn://svn.anope.org/anope/trunk@1316 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1034 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/services.h5
-rw-r--r--include/sysconf.h.win321
2 files changed, 5 insertions, 1 deletions
diff --git a/include/services.h b/include/services.h
index 8329535bf..19efdedde 100644
--- a/include/services.h
+++ b/include/services.h
@@ -113,6 +113,11 @@
#include <dirent.h>
#endif
+#ifdef _WIN32
+/* VS2008 hates having this define before its own */
+#define vsnprintf _vsnprintf
+#endif
+
#ifdef USE_RDB
# define MAX_SQL_BUF 4096
#endif
diff --git a/include/sysconf.h.win32 b/include/sysconf.h.win32
index 7ad4ddf53..a11694469 100644
--- a/include/sysconf.h.win32
+++ b/include/sysconf.h.win32
@@ -38,7 +38,6 @@ typedef unsigned __int8 u_int8_t;
/* Windows/MSVC likes to name things differently */
#define snprintf _snprintf
-#define vsnprintf _vsnprintf
#define popen _popen
#define pclose _pclose
#define ftruncate _chsize