mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-10-30 09:10:47 +03:00
Documentation generator doesn't support C99 comments.
This commit is contained in:
parent
6827d4fc39
commit
4f316ff7b3
1 changed files with 2 additions and 6 deletions
|
@ -44,16 +44,12 @@
|
||||||
|
|
||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
#if TARGET_IPHONE_SIMULATOR
|
#if TARGET_IPHONE_SIMULATOR
|
||||||
// iOS, tvOS, or watchOS Simulator
|
|
||||||
#define PLATFORM_IPHONE
|
#define PLATFORM_IPHONE
|
||||||
#elif TARGET_OS_MACCATALYST
|
#elif TARGET_OS_MACCATALYST
|
||||||
// Mac's Catalyst (ports iOS API into Mac, like UIKit).
|
|
||||||
#define PLATFORM_CATALYST
|
#define PLATFORM_CATALYST
|
||||||
#elif TARGET_OS_IPHONE
|
#elif TARGET_OS_IPHONE
|
||||||
// iOS, tvOS, or watchOS device
|
|
||||||
#define PLATFORM_IPHONE
|
#define PLATFORM_IPHONE
|
||||||
#elif TARGET_OS_MAC
|
#elif TARGET_OS_MAC
|
||||||
// Other kinds of Apple platforms
|
|
||||||
#define PLATFORM_MAC
|
#define PLATFORM_MAC
|
||||||
#else
|
#else
|
||||||
# error "Unknown Apple platform"
|
# error "Unknown Apple platform"
|
||||||
|
@ -62,7 +58,7 @@
|
||||||
#define PLATFORM_ANDROID
|
#define PLATFORM_ANDROID
|
||||||
#elif __linux__
|
#elif __linux__
|
||||||
#define PLATFORM_LINUX
|
#define PLATFORM_LINUX
|
||||||
#elif __unix__ // all unices not caught above
|
#elif __unix__
|
||||||
#define PLATFORM_UNIX
|
#define PLATFORM_UNIX
|
||||||
#elif defined(_POSIX_VERSION)
|
#elif defined(_POSIX_VERSION)
|
||||||
#define PLATFORM_POSIX
|
#define PLATFORM_POSIX
|
||||||
|
@ -70,4 +66,4 @@
|
||||||
# error "Unknown compiler"
|
# error "Unknown compiler"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // CYTOPLASM_PLATFORM_H
|
#endif /* CYTOPLASM_PLATFORM_H */
|
||||||
|
|
Loading…
Reference in a new issue