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/server/ccs_array.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/ccapi/server/ccs_array.h') diff --git a/src/ccapi/server/ccs_array.h b/src/ccapi/server/ccs_array.h index d4a6ba601..800e15de8 100644 --- a/src/ccapi/server/ccs_array.h +++ b/src/ccapi/server/ccs_array.h @@ -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 @@ -45,7 +45,9 @@ cc_int32 ccs_client_array_insert (ccs_client_array_t io_array, cc_int32 ccs_client_array_remove (ccs_client_array_t io_array, cc_uint64 in_position); +#ifdef TARGET_OS_MAC #pragma mark - +#endif cc_int32 ccs_lock_array_new (ccs_lock_array_t *out_array); @@ -68,7 +70,9 @@ cc_int32 ccs_lock_array_move (ccs_lock_array_t io_array, cc_uint64 in_new_position, cc_uint64 *out_real_new_position); +#ifdef TARGET_OS_MAC #pragma mark - +#endif cc_int32 ccs_callback_array_new (ccs_callback_array_t *out_array); @@ -86,7 +90,9 @@ cc_int32 ccs_callback_array_insert (ccs_callback_array_t io_array, cc_int32 ccs_callback_array_remove (ccs_callback_array_t io_array, cc_uint64 in_position); +#ifdef TARGET_OS_MAC #pragma mark - +#endif cc_int32 ccs_callbackref_array_new (ccs_callbackref_array_t *out_array); -- cgit