X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Fbacktrace.cpp;h=f9057dce833d95b9231917bd763a489f7a856fb1;hp=1fda155e9665d497f629cb575ea93a33b12a7d3b;hb=5a32939eb6e576c223e1be5f80226d9e628a2398;hpb=8e613903920ee006c2c84e1af5620d92fbfb8957 diff --git a/source/debug/backtrace.cpp b/source/debug/backtrace.cpp index 1fda155..f9057dc 100644 --- a/source/debug/backtrace.cpp +++ b/source/debug/backtrace.cpp @@ -1,6 +1,6 @@ // Must include something to test for glibc #include -#if !defined(WIN32) && defined(__GLIBC__) +#if !defined(_WIN32) && defined(__GLIBC__) #include #include #endif @@ -14,7 +14,7 @@ namespace Debug { Backtrace Backtrace::create() { -#if !defined(WIN32) && defined(__GLIBC__) +#if !defined(_WIN32) && defined(__GLIBC__) void *addresses[50]; int count = ::backtrace(addresses, 50);