diff --git a/media/webrtc/trunk/webrtc/base/checks.cc b/media/webrtc/trunk/webrtc/base/checks.cc index b85af1ed179..f64391d61bb 100644 --- a/media/webrtc/trunk/webrtc/base/checks.cc +++ b/media/webrtc/trunk/webrtc/base/checks.cc @@ -16,7 +16,7 @@ #include #include -#if defined(__GLIBCXX__) && !defined(__UCLIBC__) +#if defined(__GLIBC__) && !defined(__UCLIBC__) #include #include #endif @@ -55,7 +55,7 @@ void PrintError(const char* format, ...) { // to get usable symbols on Linux. This is copied from V8. Chromium has a more // advanced stace trace system; also more difficult to copy. void DumpBacktrace() { -#if defined(__GLIBCXX__) && !defined(__UCLIBC__) +#if defined(__GLIBC__) && !defined(__UCLIBC__) void* trace[100]; int size = backtrace(trace, sizeof(trace) / sizeof(*trace)); char** symbols = backtrace_symbols(trace, size); diff --git a/media/webrtc/trunk/webrtc/base/stringutils.h b/media/webrtc/trunk/webrtc/base/stringutils.h index 25990e0af46..44b29d9acb9 100644 --- a/media/webrtc/trunk/webrtc/base/stringutils.h +++ b/media/webrtc/trunk/webrtc/base/stringutils.h @@ -23,7 +23,7 @@ #endif // WEBRTC_WIN #if defined(WEBRTC_POSIX) -#ifdef BSD +#ifdef WEBRTC_BSD #include #else // BSD #include