mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-07 23:25:04 +01:00
32 lines
611 B
C
32 lines
611 B
C
|
#ifndef __PLATFORM_SPECIFIC_H__
|
||
|
#define __PLATFORM_SPECIFIC_H__
|
||
|
|
||
|
#if defined(__linux__)
|
||
|
|
||
|
//#include <pthread.h>
|
||
|
//
|
||
|
//typedef struct {
|
||
|
// pthread_t t;
|
||
|
// pthread_barrier_t pause_barrier;
|
||
|
// pthread_mutex_t pause_mutex;
|
||
|
// pthread_cond_t pause_cond;
|
||
|
// void (*entrypoint)(void *);
|
||
|
// void *arg;
|
||
|
//} OSThreadNative;
|
||
|
|
||
|
#elif defined(_WIN32)
|
||
|
|
||
|
//#include <pthread.h>
|
||
|
//
|
||
|
//typedef struct {
|
||
|
// pthread_t t;
|
||
|
// pthread_barrier_t pause_barrier;
|
||
|
// pthread_mutex_t pause_mutex;
|
||
|
// pthread_cond_t pause_cond;
|
||
|
// void (*entrypoint)(void*);
|
||
|
// void* arg;
|
||
|
//} OSThreadNative;
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif
|