Lines Matching refs:OS
35 /* OS() - underlying operating system; only to be used for mandated low-level services like
37 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE)
41 /* USE() - use a particular third-party library or optional OS service */
46 /* ==== OS() - underlying operating system; only to be used for mandated low-level services like
49 /* OS(ANDROID) - Android */
52 /* OS(MACOSX) - Any Darwin-based OS, including Mac OS X and iPhone OS */
55 /* OS(FREEBSD) - FreeBSD */
58 /* OS(LINUX) - Linux */
61 /* OS(OPENBSD) - OpenBSD */
64 /* OS(WIN) - Any version of Windows */
69 /* OS(POSIX) - Any Unix-like system */
70 #if OS(ANDROID) \
71 || OS(MACOSX) \
72 || OS(FREEBSD) \
73 || OS(LINUX) \
74 || OS(OPENBSD) \
81 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set. */
82 #if !OS(WIN) && !OS(POSIX)
83 #error Either OS(WIN) or OS(POSIX) needs to be set.
88 #if OS(ANDROID)
97 #if OS(MACOSX)
100 #endif /* OS(MACOSX) */
102 #if OS(POSIX)
106 #endif /* OS(POSIX) */
108 #if !OS(WIN) && !OS(ANDROID)
114 #if OS(MACOSX)
116 #endif /* OS(MACOSX) */
118 #if OS(WIN)
129 #endif /* OS(WIN) */
133 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X.