Move MAX_THREADS as define to BuildDefines.h

This commit is contained in:
dhewg 2011-12-20 20:40:55 +01:00
parent 1a25b165b0
commit 5a052e846f
3 changed files with 4 additions and 2 deletions

View file

@ -147,3 +147,7 @@ DOOM III gold: 33
// special game init ids
#define GAME_INIT_ID_INVALID (-1)
#define GAME_INIT_ID_MAP_LOAD (-2)
// threads
#define MAX_THREADS (10)

View file

@ -52,7 +52,6 @@ thread create and destroy
*/
// not a hard limit, just what we keep track of for debugging
#define MAX_THREADS 10
xthreadInfo *g_threads[MAX_THREADS];
int g_thread_count = 0;

View file

@ -372,7 +372,6 @@ typedef struct {
size_t threadId;
} xthreadInfo;
const int MAX_THREADS = 10;
extern xthreadInfo *g_threads[MAX_THREADS];
extern int g_thread_count;