1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#include "simpleble/Advanced.h" #if defined(_WIN32) // Windows code #endif #if TARGET_OS_OSX // macOS code #endif #if TARGET_OS_IOS // iOS code #endif #if defined(__ANDROID__) // Android code #endif #if defined(__linux__) && !defined(__ANDROID__) // Linux code #endif