Starboard Configuration Reference Guide

  • The platform's network configuration is determined by SB_HAS_IPV6, which indicates IPv6 support and defaults to enabled.

  • System header configuration involves specifying headers, like sys/types.h, to be emulated if not provided by the platform.

  • Key system types like ssize_t and wchar_t have properties that define their presence and characteristics, impacting type handling and compatibility.

  • wchar_t type detection and configuration is essential, influencing how wide-character data is managed within the system.

Network Configuration

Properties
SB_HAS_IPV6

Specifies whether this platform supports IPV6.

The default value in the Stub implementation is 1

System Header Configuration

Any system headers listed here that are not provided by the platform will be emulated in starboard/types.h.

Properties
SB_HAS_SYS_TYPES_H

Whether the current platform provides the standard header sys/types.h.

The default value in the Stub implementation is 0
SB_HAS_SSIZE_T

Whether the current platform provides ssize_t.

The default value in the Stub implementation is 1
SB_IS_WCHAR_T_UTF32

Type detection for wchar_t.

The default value in the Stub implementation is 1
SB_IS_WCHAR_T_UTF16

The default value in the Stub implementation is 1
SB_IS_WCHAR_T_UNSIGNED

Chrome only defines this for ARMEL. Chrome has an exclusion for iOS here, we should too when we support iOS.

The default value in the Stub implementation is 1