comparison loader/win32.c @ 8141:be9a2636b071

use the more stable NEWTYPE critsect code
author arpi
date Sun, 10 Nov 2002 21:04:10 +0000
parents 05ded2e1327a
children fade8f754da0
comparison
equal deleted inserted replaced
8140:8655d0d228b1 8141:be9a2636b071
1158 CRITICAL_SECTION *cs_win; 1158 CRITICAL_SECTION *cs_win;
1159 struct CRITSECT *cs_unix; 1159 struct CRITSECT *cs_unix;
1160 }; 1160 };
1161 1161
1162 /* 'NEWTYPE' is working with VIVO and 3ivX dll (no more segfaults) -- alex */ 1162 /* 'NEWTYPE' is working with VIVO and 3ivX dll (no more segfaults) -- alex */
1163 #undef CRITSECS_NEWTYPE 1163 //#undef CRITSECS_NEWTYPE
1164 //#define CRITSECS_NEWTYPE 1 1164 #define CRITSECS_NEWTYPE 1
1165 1165
1166 #ifdef CRITSECS_NEWTYPE 1166 #ifdef CRITSECS_NEWTYPE
1167 #define CRITSECS_LIST_MAX 20 1167 #define CRITSECS_LIST_MAX 20
1168 static struct critsecs_list_t critsecs_list[CRITSECS_LIST_MAX]; 1168 static struct critsecs_list_t critsecs_list[CRITSECS_LIST_MAX];
1169 1169