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/lib | |
| 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/lib')
| -rw-r--r-- | src/ccapi/lib/ccapi_context.c | 6 | ||||
| -rw-r--r-- | src/ccapi/lib/ccapi_context.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ccapi/lib/ccapi_context.c b/src/ccapi/lib/ccapi_context.c index 7a165cf98..6bcbd239a 100644 --- a/src/ccapi/lib/ccapi_context.c +++ b/src/ccapi/lib/ccapi_context.c @@ -81,6 +81,12 @@ static cc_int32 cci_context_sync (cci_context_t in_context, MAKE_INIT_FUNCTION(cci_thread_init); +#ifdef WIN32 +void cci_thread_init_helper() { + cci_thread_init__auxinit(); + } +#endif + /* ------------------------------------------------------------------------ */ static int cci_thread_init (void) diff --git a/src/ccapi/lib/ccapi_context.h b/src/ccapi/lib/ccapi_context.h index 4ac0b06c3..a9989a126 100644 --- a/src/ccapi/lib/ccapi_context.h +++ b/src/ccapi/lib/ccapi_context.h @@ -75,4 +75,9 @@ cc_int32 ccapi_context_compare (cc_context_t in_context, cc_context_t in_compare_to_context, cc_uint32 *out_equal); +#ifdef WIN32 +void cci_thread_init_helper(); +#endif + + #endif /* CCAPI_CONTEXT_H */ |
