Visual C++ compilation fixes
This commit is contained in:
@@ -48,7 +48,9 @@ const char *eepromFile = NULL;
|
||||
FILE *fp = NULL;
|
||||
int g_snapshot_idx = 0;
|
||||
|
||||
pthread_t main_thread_pid = 0;
|
||||
#if !defined(CPUARM)
|
||||
pthread_t main_thread_pid;
|
||||
#endif
|
||||
uint8_t main_thread_running = 0;
|
||||
char * main_thread_error = NULL;
|
||||
|
||||
@@ -383,8 +385,9 @@ void StartSimu(bool tests)
|
||||
void StopSimu()
|
||||
{
|
||||
main_thread_running = 0;
|
||||
if (main_thread_pid)
|
||||
#if !defined(CPUARM)
|
||||
pthread_join(main_thread_pid, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(CPUARM)
|
||||
|
||||
@@ -375,7 +375,7 @@ void eepromReadBlock (uint8_t * pointer_ram, uint32_t address, uint32_t size);
|
||||
extern OS_MutexID audioMutex;
|
||||
|
||||
#define OS_FlagID uint32_t
|
||||
#define OS_TID uint32_t
|
||||
#define OS_TID pthread_t
|
||||
#define OS_TCID uint32_t
|
||||
#define OS_STK uint32_t
|
||||
|
||||
|
||||
Reference in New Issue
Block a user