Move MAX_THREADS as define to BuildDefines.h

This commit is contained in:
dhewg 2011-12-20 20:40:55 +01:00 committed by Daniel Gibson
parent efbd47f4bc
commit 3c2c603cf4
2 changed files with 4 additions and 1 deletions

View file

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

View file

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