| Index: runtime/bin/socket.h
|
| diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
|
| index 1afc05e58a3bfbd6ff6ee58365dbc21b17093b98..ebd40674c341cb179bafc843da48e84878717dc9 100644
|
| --- a/runtime/bin/socket.h
|
| +++ b/runtime/bin/socket.h
|
| @@ -11,15 +11,15 @@
|
|
|
| #include "platform/globals.h"
|
| // Declare the OS-specific types ahead of defining the generic class.
|
| -#if defined(TARGET_OS_ANDROID)
|
| +#if defined(HOST_OS_ANDROID)
|
| #include "bin/socket_android.h"
|
| -#elif defined(TARGET_OS_FUCHSIA)
|
| +#elif defined(HOST_OS_FUCHSIA)
|
| #include "bin/socket_fuchsia.h"
|
| -#elif defined(TARGET_OS_LINUX)
|
| +#elif defined(HOST_OS_LINUX)
|
| #include "bin/socket_linux.h"
|
| -#elif defined(TARGET_OS_MACOS)
|
| +#elif defined(HOST_OS_MACOS)
|
| #include "bin/socket_macos.h"
|
| -#elif defined(TARGET_OS_WINDOWS)
|
| +#elif defined(HOST_OS_WINDOWS)
|
| #include "bin/socket_win.h"
|
| #else
|
| #error Unknown target os.
|
|
|