Skip to content

Commit

Permalink
Fix compilation of DEBUG code
Browse files Browse the repository at this point in the history
  • Loading branch information
niyas-sait committed Nov 11, 2021
1 parent 7591801 commit 829b604
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/StackWalker.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#ifdef DEBUG
#if DEBUG
#ifndef __STACKWALKER_H__
#define __STACKWALKER_H__

Expand Down
2 changes: 1 addition & 1 deletion src/csrc/StackWalker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
*
**********************************************************************/

#ifdef DEBUG
#if DEBUG
#include "StackWalker.h"

#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/csrc/pty.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "pty.h"

#ifdef DEBUG
#if DEBUG
// Debug utilities used to print a stack trace
// In order to use it:
// MyStackWalker sw; sw.ShowCallstack();
Expand Down

0 comments on commit 829b604

Please sign in to comment.