AI-generated Key Takeaways
-
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_tandwchar_thave properties that define their presence and characteristics, impacting type handling and compatibility. -
wchar_ttype detection and configuration is essential, influencing how wide-character data is managed within the system.
Network Configuration
| Properties |
|---|
SB_HAS_IPV6Specifies 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_HWhether the current platform provides the standard header sys/types.h. The default value in the Stub implementation is 0 |
SB_HAS_SSIZE_TWhether the current platform provides ssize_t. The default value in the Stub implementation is 1 |
SB_IS_WCHAR_T_UTF32Type detection for wchar_t. The default value in the Stub implementation is 1 |
SB_IS_WCHAR_T_UTF16The default value in the Stub implementation is 1 |
SB_IS_WCHAR_T_UNSIGNEDChrome 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 |