From 02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 1 Nov 2007 08:08:32 +0000 Subject: Conditionalize "#pragma mark" on TARGET_OS_MAC. Don't use "#pragma warning" when not on Windows. (In fact, the just-added uses shouldn't be needed if the above conditional is done right, so one of them was deleted.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20161 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/lib/ccapi_context.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/ccapi/lib/ccapi_context.c') diff --git a/src/ccapi/lib/ccapi_context.c b/src/ccapi/lib/ccapi_context.c index 031c62a3a..7a165cf98 100644 --- a/src/ccapi/lib/ccapi_context.c +++ b/src/ccapi/lib/ccapi_context.c @@ -1,7 +1,7 @@ /* * $Header$ * - * Copyright 2006 Massachusetts Institute of Technology. + * Copyright 2006, 2007 Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -75,7 +75,9 @@ cc_context_f cci_context_f_initializer = { static cc_int32 cci_context_sync (cci_context_t in_context, cc_uint32 in_launch); +#ifdef TARGET_OS_MAC #pragma mark - +#endif MAKE_INIT_FUNCTION(cci_thread_init); @@ -96,7 +98,9 @@ static int cci_thread_init (void) return err; } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -172,7 +176,9 @@ cc_int32 cc_initialize (cc_context_t *out_context, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -739,7 +745,9 @@ cc_int32 ccapi_context_compare (cc_context_t in_context, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ -- cgit