Skip to content

Commit f27c0fb

Browse files
tamlin-mikeXottab-DUTY
authored andcommitted
Preprocessor fixes (#if DEBUG -> #ifdef DEBUG).
1 parent 7f68ed6 commit f27c0fb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/xrCore/ptmalloc3/malloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,7 @@ static int change_mparam(int param_number, int value) {
29572957
}
29582958
}
29592959

2960-
#if DEBUG
2960+
#ifdef DEBUG
29612961
/* ------------------------- Debugging Support --------------------------- */
29622962

29632963
/* Check properties of any chunk, whether free, inuse, mmapped etc */
@@ -4456,7 +4456,7 @@ static void** ialloc(mstate m,
44564456
}
44574457
}
44584458

4459-
#if DEBUG
4459+
#ifdef DEBUG
44604460
if (marray != chunks) {
44614461
/* final element must have exactly exhausted chunk */
44624462
if (element_size != 0) {

src/xrGame/LevelGraphDebugRender.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include "stdafx.h"
1010
#include "LevelGraphDebugRender.hpp"
11-
#if DEBUG
11+
#ifdef DEBUG
1212
#include "xrAICore/Navigation/game_graph.h"
1313
#include "xrAICore/Navigation/level_graph.h"
1414
#include "xrAICore/Navigation/graph_engine.h"

src/xrGame/LevelGraphDebugRender.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
2-
#if DEBUG
2+
#ifdef DEBUG
33
#include "xrCore/xrCore.h"
44
#include "Include/xrRender/DebugShader.h"
55
class CGameGraph;

0 commit comments

Comments
 (0)