use #pragma(pack) on __APPLE__ computers, use int32_t for the time type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24075 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -38,6 +38,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <krb5-types.h>
 | 
					#include <krb5-types.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 #ifdef __APPLE__
 | 
				
			||||||
 | 
					#pragma pack(push,2)
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum {
 | 
					enum {
 | 
				
			||||||
    cc_credentials_v5 = 2
 | 
					    cc_credentials_v5 = 2
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
@@ -92,7 +96,7 @@ typedef struct cc_credentials_v5_t cc_credentials_v5_t;
 | 
				
			|||||||
typedef struct cc_credentials_t *cc_credentials_t;
 | 
					typedef struct cc_credentials_t *cc_credentials_t;
 | 
				
			||||||
typedef struct cc_credentials_iterator_t *cc_credentials_iterator_t;
 | 
					typedef struct cc_credentials_iterator_t *cc_credentials_iterator_t;
 | 
				
			||||||
typedef struct cc_string_t *cc_string_t;
 | 
					typedef struct cc_string_t *cc_string_t;
 | 
				
			||||||
typedef time_t cc_time_t;
 | 
					typedef cc_uint32 cc_time_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct cc_data {
 | 
					typedef struct cc_data {
 | 
				
			||||||
    cc_uint32 type;
 | 
					    cc_uint32 type;
 | 
				
			||||||
@@ -227,4 +231,9 @@ struct cc_context_t {
 | 
				
			|||||||
typedef cc_int32
 | 
					typedef cc_int32
 | 
				
			||||||
(*cc_initialize_func)(cc_context_t*, cc_int32, cc_int32 *, char const **);
 | 
					(*cc_initialize_func)(cc_context_t*, cc_int32, cc_int32 *, char const **);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __APPLE__
 | 
				
			||||||
 | 
					#pragma pack(pop)
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif /* KRB5_CCAPI_H */
 | 
					#endif /* KRB5_CCAPI_H */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user