Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: base/debug/debugger_posix.cc

Issue 7238021: Solaris patch (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/debug/debugger_posix.cc
diff --git a/base/debug/debugger_posix.cc b/base/debug/debugger_posix.cc
index bf90a0f552fb19e0401316c0dd622751284adbe4..01e21ae43ac8cb181799f501260172bb88673819 100644
--- a/base/debug/debugger_posix.cc
+++ b/base/debug/debugger_posix.cc
@@ -12,7 +12,7 @@
#include <stdlib.h>
#include <sys/param.h>
#include <sys/stat.h>
-#if !defined(OS_NACL)
+#if defined(OS_OPENBSD) || defined(OS_FREEBSD)
Evan Martin 2011/06/24 17:51:18 Can you pull these platform-specific includes belo
#include <sys/sysctl.h>
#endif
#include <sys/types.h>
@@ -136,7 +136,7 @@ bool BeingDebugged() {
return false;
}
-#elif defined(OS_FREEBSD)
+#else
bool BeingDebugged() {
// TODO(benl): can we determine this under FreeBSD?

Powered by Google App Engine
This is Rietveld 408576698