From 71bc89ed452de3b5aa6356087280554e58ae4456 Mon Sep 17 00:00:00 2001 From: Kevin Koch Date: Tue, 22 Jan 2008 16:34:31 +0000 Subject: 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 --- src/include/win-mac.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include') diff --git a/src/include/win-mac.h b/src/include/win-mac.h index 923fe6045..f77cd2b41 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 -- cgit