On Windows, disable a pragma warning; add comment about what a pipe is
authorKevin Koch <kpkoch@mit.edu>
Wed, 31 Oct 2007 17:16:56 +0000 (17:16 +0000)
committerKevin Koch <kpkoch@mit.edu>
Wed, 31 Oct 2007 17:16:56 +0000 (17:16 +0000)
TargetVersion: 1.7
Component: krb5-libs
Ticket: 5594
Subj: Work on compiling the CCAPI test suite on Windows.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20160 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/server/ccs_types.h

index 46767f02dab2918ed94ac18449b2070d1a673543..1c0870bf022d9be1a763f7f1d23f3be73a256af9 100644 (file)
 #ifndef CCS_TYPES_H
 #define CCS_TYPES_H
 
+#ifdef WIN32
+#pragma warning ( disable : 4068)
+#endif
+
 #include "cci_types.h"
 
 struct cci_array_d;
@@ -51,6 +55,7 @@ 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