From 8de81bb90c731801d9013f770c0a1fbca7474e6f Mon Sep 17 00:00:00 2001 From: Kevin Koch Date: Thu, 12 Jul 2007 17:55:06 +0000 Subject: [PATCH] Add #ifdef WIN32 section TargetVersion: 1.7 Component: krb5-libs Ticket: 5594 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19700 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/server/ccs_types.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ccapi/server/ccs_types.h b/src/ccapi/server/ccs_types.h index 67f9c89bd..f1889aa2d 100644 --- a/src/ccapi/server/ccs_types.h +++ b/src/ccapi/server/ccs_types.h @@ -46,12 +46,18 @@ typedef struct cci_array_d *ccs_lock_array_t; typedef mach_port_t ccs_pipe_t; /* Mach IPC port */ #define CCS_PIPE_NULL MACH_PORT_NULL +#else + +#ifdef WIN32 +typedef char* ccs_pipe_t; +#define CCS_PIPE_NULL (char*)NULL + #else typedef int ccs_pipe_t; /* Unix domain socket */ #define CCS_PIPE_NULL -1 #endif - +#endif #pragma mark - struct ccs_lockref_d; -- 2.26.2