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.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/ccapi/server/ccs_array.c') diff --git a/src/ccapi/server/ccs_array.c b/src/ccapi/server/ccs_array.c index b648a36a7..82aa02454 100644 --- a/src/ccapi/server/ccs_array.c +++ b/src/ccapi/server/ccs_array.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 @@ -80,7 +80,9 @@ cc_int32 ccs_client_array_remove (ccs_client_array_t io_array, return cci_array_remove (io_array, in_position); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -144,7 +146,9 @@ cc_int32 ccs_lock_array_move (ccs_lock_array_t io_array, return cci_array_move (io_array, in_position, in_new_position, out_real_new_position); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -199,7 +203,9 @@ cc_int32 ccs_callback_array_remove (ccs_callback_array_t io_array, return cci_array_remove (io_array, in_position); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ -- cgit