Skip to content

Commit

Permalink
Fix incorrect #ifdef to resolve compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Jan 14, 2017
1 parent a9628b1 commit 270cd1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/common/DebugMemLeakFinder.cpp
Expand Up @@ -47,7 +47,7 @@ typedef struct
size_t size;
const char *file;
int line;
#if !defined BOX_RELEASE_BUILD && defined HAVE_EXECINFO_H
#ifdef HAVE_EXECINFO_H
void *stack_frames[20];
size_t stack_size;
#endif
Expand All @@ -59,7 +59,7 @@ typedef struct
const char *file;
int line;
bool array;
#if !defined BOX_RELEASE_BUILD && defined HAVE_EXECINFO_H
#ifdef HAVE_EXECINFO_H
void *stack_frames[20];
size_t stack_size;
#endif
Expand Down

0 comments on commit 270cd1f

Please sign in to comment.