@@ -196,7 +196,7 @@ static void Com_Puts_Ext( qboolean extendedColors, qboolean skipNotify, const ch
196196 }
197197 }
198198
199- #if defined(_WIN32) && defined(_DEBUG )
199+ #if defined(_WIN32) && defined(DEBUG )
200200 if ( *msg )
201201 {
202202 OutputDebugStringA ( Q_CleanStr ((char *)msg, (qboolean)MV_USE102COLOR) );
@@ -1226,7 +1226,7 @@ void *S_Malloc( int iSize ) {
12261226}
12271227
12281228
1229- #ifdef _DEBUG
1229+ #ifdef DEBUG
12301230static void Z_MemRecoverTest_f (void )
12311231{
12321232 // needs to be in _DEBUG only, not good for final game!
@@ -1325,7 +1325,7 @@ void Com_InitZoneMemory( void )
13251325 memset (&TheZone, 0 , sizeof (TheZone));
13261326 TheZone.Header .iMagic = ZONE_MAGIC;
13271327
1328- #ifdef _DEBUG
1328+ #ifdef DEBUG
13291329 com_validateZone = Cvar_Get (" com_validateZone" , " 1" , 0 );
13301330#else
13311331 com_validateZone = Cvar_Get (" com_validateZone" , " 0" , 0 );
@@ -1334,7 +1334,7 @@ void Com_InitZoneMemory( void )
13341334 Cmd_AddCommand (" zone_stats" , Z_Stats_f);
13351335 Cmd_AddCommand (" zone_details" , Z_Details_f);
13361336
1337- #ifdef _DEBUG
1337+ #ifdef DEBUG
13381338 Cmd_AddCommand (" zone_memrecovertest" , Z_MemRecoverTest_f);
13391339#endif
13401340}
@@ -2108,7 +2108,7 @@ void Hunk_Trash( void ) {
21082108 if ( s_hunkData == NULL )
21092109 return;
21102110
2111- #ifdef _DEBUG
2111+ #ifdef DEBUG
21122112 Com_Error(ERR_DROP, "hunk trashed");
21132113 return;
21142114#endif
@@ -3340,7 +3340,7 @@ Field_CheckRep
33403340==================
33413341*/
33423342void Field_CheckRep ( field_t *edit ) {
3343- #ifndef NDEBUG
3343+ #ifdef DEBUG
33443344 int len = strlen (edit->buffer );
33453345
33463346 assert ( len < MAX_EDIT_LINE );
@@ -3361,7 +3361,7 @@ void Field_CheckRep( field_t *edit ) {
33613361 assert ( edit->currentTail <= edit->historyTail || edit->historyHead <= edit->currentTail );
33623362
33633363 assert ( edit->buffer == edit->bufferHistory [edit->currentTail ] );
3364- #endif // NDEBUG
3364+ #endif // DEBUG
33653365}
33663366
33673367/*
0 commit comments