Add #ifdef WIN32 section
authorKevin Koch <kpkoch@mit.edu>
Thu, 12 Jul 2007 17:55:06 +0000 (17:55 +0000)
committerKevin Koch <kpkoch@mit.edu>
Thu, 12 Jul 2007 17:55:06 +0000 (17:55 +0000)
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

index 67f9c89bd49af22bba4d36813708aaf3af4d03a1..f1889aa2da506995c967ca1df1783d1848b7d582 100644 (file)
@@ -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;