Index: runtime/bin/extensions_openbsd.cc |
diff --git a/runtime/bin/extensions_linux.cc b/runtime/bin/extensions_openbsd.cc |
similarity index 92% |
copy from runtime/bin/extensions_linux.cc |
copy to runtime/bin/extensions_openbsd.cc |
index e172f0da41bf0a220522d674dc1210f3688cdb53..2a67540175dceb7b6c0f7b6c84b20647c3ca23b1 100644 |
--- a/runtime/bin/extensions_linux.cc |
+++ b/runtime/bin/extensions_openbsd.cc |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "platform/globals.h" |
-#if defined(TARGET_OS_LINUX) |
+#if defined(TARGET_OS_OPENBSD) |
#include "bin/extensions.h" |
#include <dlfcn.h> // NOLINT |
@@ -35,4 +35,4 @@ Dart_Handle Extensions::GetError() { |
} // namespace bin |
} // namespace dart |
-#endif // defined(TARGET_OS_LINUX) |
+#endif // defined(TARGET_OS_OPENBSD) |