nano-client API Reference
|
Macros | |
#define | NANO_PLATFORM NANO_PLATFORM_UNKNOWN |
The current target build platform. More... | |
#define | NANO_PLATFORM_ARDUINO 5 |
Identifier for Arduino-based platforms. | |
#define | NANO_PLATFORM_CUSTOM 1 |
Identifier a custom target platform. | |
#define | NANO_PLATFORM_DARWIN 3 |
Identifier for Darwin platforms. | |
#define | NANO_PLATFORM_IS_POSIX |
A flag to indicate the target platform supports POSIX(-ish) features. | |
#define | NANO_PLATFORM_LINUX 2 |
Identifier for Linux platforms. | |
#define | NANO_PLATFORM_UNKNOWN 0 |
Identifier for an unknown platform. More... | |
#define | NANO_PLATFORM_WINDOWS 4 |
Identifier for Windows platforms. | |
#define NANO_PLATFORM NANO_PLATFORM_UNKNOWN |
The current target build platform.
This macro can be specified by users to select the target build platform,
If not explicitly set, the value will be automatically detected based on available compiler features, or an error will be thrown by the preprocessor.
#define NANO_PLATFORM_UNKNOWN 0 |
Identifier for an unknown platform.
This value is defined only as a default when automatic platform detection fails. It should not be used to guard code.