Commits

Anonymous committed ef11de9

Applied patch from Ioannis Papadopoulos for x64/GCC support

  • Participants
  • Parent commits 541ca3e

Comments (0)

Files changed (1)

File src/stack.cpp

 
 #include <cassert>
 #include <cstring>
+#include <cstdlib>
 #include <iomanip>
 #include <ostream>
 #include <stdexcept>
         }
     }
 #elif defined(__GNUC__)
-    #if defined(__i386__)
+    #if defined(__i386__) || defined(__amd64__)
 
     void fill_frames(std::list<dbg::stack_frame> &frames, dbg::stack::depth_type limit)
     {
     }
 
     #else
-        // GNU, but neither x86 or PPC
+        // GNU, but not x86, x64 nor PPC
         #error "Sorry but dbg::stack is not supported on this architecture"
     #endif
 #else