diff options
| -rw-r--r-- | src/ccapi/common/cci_cred_union.c | 22 | ||||
| -rw-r--r-- | src/ccapi/common/cci_stream.c | 32 |
2 files changed, 35 insertions, 19 deletions
diff --git a/src/ccapi/common/cci_cred_union.c b/src/ccapi/common/cci_cred_union.c index f0dbc1f00..55da1e264 100644 --- a/src/ccapi/common/cci_cred_union.c +++ b/src/ccapi/common/cci_cred_union.c @@ -26,12 +26,10 @@ #include "cci_common.h" -#ifdef WIN32 -#pragma warning ( disable : 4068) +#ifdef TARGET_OS_MAC +#pragma mark - #endif -#pragma mark - - /* ------------------------------------------------------------------------ */ static cc_uint32 cci_credentials_v4_release (cc_credentials_v4_t *io_v4creds) @@ -199,7 +197,9 @@ static cc_uint32 cci_credentials_v4_write (cc_credentials_v4_t *in_v4creds, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -302,7 +302,9 @@ static cc_uint32 cci_cc_data_write (cc_data *in_ccdata, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -399,7 +401,9 @@ static cc_uint32 cci_cc_data_array_write (cc_data **in_ccdata_array, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -584,7 +588,9 @@ static cc_uint32 cci_credentials_v5_write (cc_credentials_v5_t *in_v5creds, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ diff --git a/src/ccapi/common/cci_stream.c b/src/ccapi/common/cci_stream.c index f8438e549..2f0678947 100644 --- a/src/ccapi/common/cci_stream.c +++ b/src/ccapi/common/cci_stream.c @@ -27,10 +27,6 @@ #include "cci_common.h" #include "k5-platform.h" /* for byte swapping */ -#ifdef WIN32 -#pragma warning ( disable : 4068) -#endif - #if !defined(htonll) #define htonll(x) k5_htonll(x) #endif @@ -157,7 +153,9 @@ const char *cci_stream_data (cci_stream_t in_stream) return in_stream ? in_stream->data : NULL; } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -221,7 +219,9 @@ cc_uint32 cci_stream_write (cci_stream_t io_stream, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -282,7 +282,9 @@ cc_uint32 cci_stream_write_string (cci_stream_t io_stream, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -323,7 +325,9 @@ cc_uint32 cci_stream_write_int32 (cci_stream_t io_stream, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -364,7 +368,9 @@ cc_uint32 cci_stream_write_uint32 (cci_stream_t io_stream, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -406,7 +412,9 @@ cc_uint32 cci_stream_write_int64 (cci_stream_t io_stream, } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -447,7 +455,9 @@ cc_uint32 cci_stream_write_uint64 (cci_stream_t io_stream, return cci_check_error (err); } -#pragma mark - +#ifdef TARGET_OS_MAC +#pragma mark - +#endif /* ------------------------------------------------------------------------ */ |
