| Index: runtime/bin/socket_base_macos.h
|
| diff --git a/runtime/bin/socket_linux.h b/runtime/bin/socket_base_macos.h
|
| similarity index 55%
|
| rename from runtime/bin/socket_linux.h
|
| rename to runtime/bin/socket_base_macos.h
|
| index e153f8828296bfb4a388a5277fbb1e2140e80358..c382401dc759368ce6a89eef41694f8b884c4508 100644
|
| --- a/runtime/bin/socket_linux.h
|
| +++ b/runtime/bin/socket_base_macos.h
|
| @@ -2,15 +2,15 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -#ifndef RUNTIME_BIN_SOCKET_LINUX_H_
|
| -#define RUNTIME_BIN_SOCKET_LINUX_H_
|
| +#ifndef RUNTIME_BIN_SOCKET_BASE_MACOS_H_
|
| +#define RUNTIME_BIN_SOCKET_BASE_MACOS_H_
|
|
|
| -#if !defined(RUNTIME_BIN_SOCKET_H_)
|
| -#error Do not include socket_linux.h directly. Use socket.h.
|
| +#if !defined(RUNTIME_BIN_SOCKET_BASE_H_)
|
| +#error Do not include socket_base_macos.h directly. Use socket_base.h.
|
| #endif
|
|
|
| #include <arpa/inet.h>
|
| #include <netdb.h>
|
| #include <sys/socket.h>
|
|
|
| -#endif // RUNTIME_BIN_SOCKET_LINUX_H_
|
| +#endif // RUNTIME_BIN_SOCKET_BASE_MACOS_H_
|
|
|