Skip to content

Commit

Permalink
Import memdebug.h only if the symbol MEMDEBUG present
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsar122 authored and mikrosk committed Feb 14, 2018
1 parent 9ae3f54 commit 0ffb0f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/cicon/DRAWCICN.C
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
#include <string.h>
#include <stddef.h>
#include <stdio.h>
#ifdef MEMDEBUG
#include <memdebug.h>
#endif
#ifdef WITH_NVDI5
#include "..\nvdi5\include\vdicol.h"
#endif
Expand Down
2 changes: 2 additions & 0 deletions Source/cicon/new_rsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@

#include "new_rsc.h"
#include <stddef.h>
#ifdef MEMDEBUG
#include <memdebug.h>
#endif
#ifdef USE_PMALLOC
#include <malloc.h>

Expand Down

0 comments on commit 0ffb0f0

Please sign in to comment.