base: Windows heim_base_once_t cleanup
heim_base_once_t can just be a LONG on Windows, the structure is not needed
This commit is contained in:
@@ -56,13 +56,10 @@ typedef void * heim_object_t;
|
||||
typedef unsigned int heim_tid_t;
|
||||
typedef heim_object_t heim_bool_t;
|
||||
typedef heim_object_t heim_null_t;
|
||||
#if defined(WIN32)
|
||||
typedef struct {
|
||||
LONG state;
|
||||
} heim_base_once_t;
|
||||
# define HEIM_BASE_ONCE_INIT {0L}
|
||||
#else
|
||||
# define HEIM_BASE_ONCE_INIT 0
|
||||
#ifdef WIN32
|
||||
typedef LONG heim_base_once_t;
|
||||
#else
|
||||
typedef long heim_base_once_t; /* XXX arch dependant */
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user