-typedef void (*MonoThreadStartCB) (gsize tid, gpointer stack_start,
- gpointer func);
-typedef void (*MonoThreadAttachCB) (gsize tid, gpointer stack_start);
+typedef void (*MonoThreadStartCB) (intptr_t tid, void* stack_start,
+ void* func);
+typedef void (*MonoThreadAttachCB) (intptr_t tid, void* stack_start);