diff options
author | Ken Raeburn <raeburn@mit.edu> | 2007-11-01 08:08:32 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2007-11-01 08:08:32 +0000 |
commit | 02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4 (patch) | |
tree | 017d68560700e8e53480c218eecbcc09f55d3de1 /src/ccapi/server/ccs_array.h | |
parent | 3f3ceb8cc3f6ca0e62dac213e3fa2a79b8c05ebe (diff) | |
download | krb5-02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4.tar.gz krb5-02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4.tar.xz krb5-02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4.zip |
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
Diffstat (limited to 'src/ccapi/server/ccs_array.h')
-rw-r--r-- | src/ccapi/server/ccs_array.h | 8 |
1 files changed, 7 insertions, 1 deletions
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); |