* Have JGE compile on Darwin architecture.
* I'm not saying it works, just that it compiles.
* This needs testing on other macs than just mine.
This commit is contained in:
jean.chalard
2010-02-01 02:49:26 +00:00
parent aa5eb90299
commit e3e50c19a5
3 changed files with 9 additions and 4 deletions

View File

@@ -43,9 +43,12 @@ void JNetwork::EndInstance(){
#if defined (WIN32) || defined (LINUX)
#if defined (WIN32)
DWORD JNetwork::netthread = 0;
int JNetwork::connected_to_ap = 1;
#elif defined (LINUX)
pthread_t JNetwork::netthread = NULL;
int JNetwork::connected_to_ap = 1;
#else
int JNetwork::connected_to_ap = 0;
int JNetwork::netthread = 0;