~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_thr_init.c

Merged in fix-headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
uint32_t thd_lib_detected= 0;
37
37
 
38
38
#ifdef USE_TLS
39
 
pthread_key(struct st_my_thread_var*, THR_KEY_mysys);
 
39
pthread_key_t THR_KEY_mysys;
40
40
#else
41
 
pthread_key(struct st_my_thread_var, THR_KEY_mysys);
 
41
pthread_key_t THR_KEY_mysys;
42
42
#endif /* USE_TLS */
43
43
pthread_mutex_t THR_LOCK_malloc,THR_LOCK_open,
44
44
                THR_LOCK_lock,THR_LOCK_isam,THR_LOCK_myisam,THR_LOCK_heap,