diff options
| author | Kevin Koch <kpkoch@mit.edu> | 2008-01-22 16:34:31 +0000 |
|---|---|---|
| committer | Kevin Koch <kpkoch@mit.edu> | 2008-01-22 16:34:31 +0000 |
| commit | 71bc89ed452de3b5aa6356087280554e58ae4456 (patch) | |
| tree | ba6b451184014bffd741037c0b80a27e9517e115 /src/ccapi/server | |
| parent | 3bbddf92797339694a9881d6f08b5bb0aea5adbe (diff) | |
| download | krb5-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/ccapi/server')
| -rw-r--r-- | src/ccapi/server/ccs_types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ccapi/server/ccs_types.h b/src/ccapi/server/ccs_types.h index 56056b99ed..a1e65a2515 100644 --- a/src/ccapi/server/ccs_types.h +++ b/src/ccapi/server/ccs_types.h @@ -57,9 +57,10 @@ typedef mach_port_t ccs_pipe_t; /* Mach IPC port */ #else #ifdef WIN32 -/* On Windows, a pipe is the name of the endpoint to which to send the reply: */ -typedef char* ccs_pipe_t; -#define CCS_PIPE_NULL (char*)NULL +/* On Windows, a pipe is s struct: */ +#include "ccs_win_pipe.h" +typedef struct ccs_win_pipe_t* ccs_pipe_t; +#define CCS_PIPE_NULL (ccs_pipe_t)NULL #else typedef int ccs_pipe_t; /* Unix domain socket */ @@ -67,6 +68,7 @@ typedef int ccs_pipe_t; /* Unix domain socket */ #endif #endif + #ifdef TARGET_OS_MAC #pragma mark - #endif |
