diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:16:55 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:16:55 +0000 |
| commit | 2d72446860abac08dc4f36b10fde7536f7897956 (patch) | |
| tree | 25dc114bb696bc8752d68e6e050da8d3dda5f282 /src/tools/smtp.h | |
| parent | 1cd73b4dadb8e618a0ec56289408922be42aac8a (diff) | |
More CMake work, mostly to handle both *nix and Windows builds.
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/tools/smtp.h')
| -rw-r--r-- | src/tools/smtp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/smtp.h b/src/tools/smtp.h index ef6a0d0aa..70a9a2033 100644 --- a/src/tools/smtp.h +++ b/src/tools/smtp.h @@ -14,6 +14,8 @@ #ifndef SMTP_H #define SMTP_H +#include "sysconf.h" + /*************************************************************************/ /* Some Linux boxes (or maybe glibc includes) require this for the @@ -82,10 +84,10 @@ extern int connect(int, struct sockaddr *, int); #endif -#ifdef _WIN32 +/*#ifdef _WIN32 #define PATH_MAX MAX_PATH #define snprintf _snprintf -#endif +#endif*/ /*************************************************************************/ |
