summaryrefslogtreecommitdiffstats
path: root/src/include/win-mac.h
diff options
context:
space:
mode:
authorKevin Koch <kpkoch@mit.edu>2008-01-22 16:34:31 +0000
committerKevin Koch <kpkoch@mit.edu>2008-01-22 16:34:31 +0000
commit71bc89ed452de3b5aa6356087280554e58ae4456 (patch)
treeba6b451184014bffd741037c0b80a27e9517e115 /src/include/win-mac.h
parent3bbddf92797339694a9881d6f08b5bb0aea5adbe (diff)
downloadkrb5-71bc89ed452de3b5aa6356087280554e58ae4456.tar.gz
krb5-71bc89ed452de3b5aa6356087280554e58ae4456.tar.xz
krb5-71bc89ed452de3b5aa6356087280554e58ae4456.zip
Make windows debug message line endings match the Mac endings.
Windows needs k5-platform helper function declared explicitly. Change definition of ccs_pipe_t for windows. #define strdup -- it's now deprecated on windows. TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20201 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/win-mac.h')
-rw-r--r--src/include/win-mac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index 923fe60453..f77cd2b419 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -200,6 +200,11 @@ typedef _W64 int ssize_t;
#define strncasecmp strnicmp
#endif
+/* VS2005 has deprecated strdup */
+#ifndef strdup
+#define strdup _strdup
+#endif
+
HINSTANCE get_lib_instance(void);
#define GETSOCKNAME_ARG2_TYPE struct sockaddr