Skip to content

Commit

Permalink
Add #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is…
Browse files Browse the repository at this point in the history
… used

when building under Windows.


git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10901 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tytso committed Sep 1, 1998
1 parent 3705b35 commit 463d2e4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib/krb5/ccache/ccapi/stdcc.h
@@ -1,6 +1,13 @@
//#include "k5-int.h"
#include "krb5.h"

#if defined(macintosh)
#include "CCache.h"
#endif

#if defined(_MSDOS) || defined(_WIN32)
#include "cacheapi.h"
#endif

#define kStringLiteralLen 255

Expand Down Expand Up @@ -63,4 +70,4 @@ KRB5_DLLIMP krb5_error_code krb5_stdcc_set_flags
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_flags flags ));

KRB5_DLLIMP krb5_error_code krb5_stdcc_remove
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_flags flags, krb5_creds *creds));
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_flags flags, krb5_creds *creds));
7 changes: 7 additions & 0 deletions src/lib/krb5/ccache/ccapi/stdcc_util.h
Expand Up @@ -2,7 +2,14 @@
//
// Frank Dabek, July 1998

#if defined(macintosh)
#include "CCache.h"
#endif

#if defined(_MSDOS) || defined(_WIN32)
#include "cacheapi.h"
#endif

#include "krb5.h"

//protoypes for private functions declared in stdcc_util.c
Expand Down

0 comments on commit 463d2e4

Please sign in to comment.