diff --git a/tools/mbspc/mbspc/l_cmd.c b/tools/mbspc/mbspc/l_cmd.c index 583ee438..d7ff502b 100644 --- a/tools/mbspc/mbspc/l_cmd.c +++ b/tools/mbspc/mbspc/l_cmd.c @@ -33,11 +33,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define SIN #endif //SIN - -#ifdef NeXT -#include -#endif - #define BASEDIRNAME "quake2" #define PATHSEPERATOR '/' diff --git a/tools/mbspc/mbspc/l_threads.c b/tools/mbspc/mbspc/l_threads.c index acea1992..1f073232 100644 --- a/tools/mbspc/mbspc/l_threads.c +++ b/tools/mbspc/mbspc/l_threads.c @@ -626,7 +626,7 @@ void RunThreadsOn(int workcnt, qboolean showpacifier, void(*func)(int)) if (pthread_create(&work_threads[i], NULL, (void *)func, (void *)i) == -1) Error ("pthread_create failed"); } - + for (i=0 ; i #endif -#ifdef NeXT -#include -#endif - #define BASEDIRNAME "quake" // assumed to have a 2 or 3 following #define HERETIC2_BASEDIRNAME "h" #define PATHSEPERATOR '/' diff --git a/tools/quake2/qdata/qdata.c b/tools/quake2/qdata/qdata.c index 50132690..85516a24 100644 --- a/tools/quake2/qdata/qdata.c +++ b/tools/quake2/qdata/qdata.c @@ -212,7 +212,7 @@ void Cmd_File( void ){ =============== */ -#ifdef _WIN32 +#ifdef WIN32 #include "io.h" void PackDirectory_r( char *dir ){ struct _finddata_t fileinfo; @@ -248,11 +248,7 @@ void PackDirectory_r( char *dir ){ #include void PackDirectory_r( char *dir ){ -#ifdef NeXT - struct direct **namelist, *ent; -#else struct dirent **namelist, *ent; -#endif int count; struct stat st; int i; diff --git a/tools/quake2/qdata_heretic2/common/cmdlib.c b/tools/quake2/qdata_heretic2/common/cmdlib.c index d316dcc9..b35afe39 100644 --- a/tools/quake2/qdata_heretic2/common/cmdlib.c +++ b/tools/quake2/qdata_heretic2/common/cmdlib.c @@ -36,10 +36,6 @@ #include #endif -#ifdef NeXT -#include -#endif - #define BASEDIRNAME "h" #define PATHSEPERATOR '/' diff --git a/tools/quake2/qdata_heretic2/qdata.c b/tools/quake2/qdata_heretic2/qdata.c index a715927a..c0b42359 100644 --- a/tools/quake2/qdata_heretic2/qdata.c +++ b/tools/quake2/qdata_heretic2/qdata.c @@ -202,7 +202,7 @@ void Cmd_File( void ){ =============== */ -#ifdef _WIN32 +#ifdef WIN32 #include "io.h" void PackDirectory_r( char *dir ){ struct _finddata_t fileinfo; @@ -235,18 +235,10 @@ void PackDirectory_r( char *dir ){ #else #include -#ifdef NeXT -#include -#else #include -#endif void PackDirectory_r( char *dir ){ -#ifdef NeXT - struct direct **namelist, *ent; -#else struct dirent **namelist, *ent; -#endif int count; struct stat st; int i; diff --git a/tools/quake3/common/cmdlib.c b/tools/quake3/common/cmdlib.c index 37b3780a..fbe8f38d 100644 --- a/tools/quake3/common/cmdlib.c +++ b/tools/quake3/common/cmdlib.c @@ -43,10 +43,6 @@ #include #endif -#ifdef NeXT -#include -#endif - #define BASEDIRNAME "quake" // assumed to have a 2 or 3 following #ifdef SAFE_MALLOC diff --git a/tools/quake3/q3data/q3data.c b/tools/quake3/q3data/q3data.c index 42ef09d4..b21de97c 100644 --- a/tools/quake3/q3data/q3data.c +++ b/tools/quake3/q3data/q3data.c @@ -289,7 +289,7 @@ void Cmd_File( void ){ =============== */ -#ifdef _WIN32 +#ifdef WIN32 #include "io.h" void PackDirectory_r( char *dir ){ struct _finddata_t fileinfo; @@ -322,18 +322,10 @@ void PackDirectory_r( char *dir ){ #else #include -#ifndef WIN32 #include -#else -#include -#endif void PackDirectory_r( char *dir ){ -#ifdef NeXT - struct direct **namelist, *ent; -#else struct dirent **namelist, *ent; -#endif int count; struct stat st; int i;