Index: webkit/glue/webdevtoolsfrontend_impl.cc |
diff --git a/webkit/glue/webdevtoolsfrontend_impl.cc b/webkit/glue/webdevtoolsfrontend_impl.cc |
index 8949fcae1fbe8d9f64d8f11f471f14187c953db9..0eb9399d0fb70b43523942dacdc8d1ab5ed99448 100644 |
--- a/webkit/glue/webdevtoolsfrontend_impl.cc |
+++ b/webkit/glue/webdevtoolsfrontend_impl.cc |
@@ -390,11 +390,15 @@ v8::Handle<v8::Value> WebDevToolsFrontendImpl::JsLoaded( |
// static |
v8::Handle<v8::Value> WebDevToolsFrontendImpl::JsPlatform( |
const v8::Arguments& args) { |
-#if defined OS_MACOSX |
+#if defined(OS_MACOSX) |
return v8String("mac-leopard"); |
-#elif defined OS_LINUX |
+#elif defined(OS_LINUX) |
return v8String("linux"); |
-#else |
+#elif defined(OS_FREEBSD) |
+ return v8String("freebsd"); |
+#elif defined(OS_OPENBSD) |
+ return v8String("openbsd"); |
+#elif defined(OS_WIN) |
return v8String("windows"); |
#endif |
} |