1 //===-- sanitizer_mac.h -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is shared between various sanitizers' runtime libraries and
11 // provides definitions for OSX-specific functions.
12 //===----------------------------------------------------------------------===//
13 #ifndef SANITIZER_MAC_H
14 #define SANITIZER_MAC_H
16 #include "sanitizer_platform.h"
18 #include "sanitizer_posix.h"
20 namespace __sanitizer {
23 MACOS_VERSION_UNINITIALIZED = 0,
24 MACOS_VERSION_UNKNOWN,
25 MACOS_VERSION_LEOPARD,
26 MACOS_VERSION_SNOW_LEOPARD,
28 MACOS_VERSION_MOUNTAIN_LION,
29 MACOS_VERSION_MAVERICKS,
30 MACOS_VERSION_YOSEMITE,
31 MACOS_VERSION_UNKNOWN_NEWER
34 MacosVersion GetMacosVersion();
38 } // namespace __sanitizer
40 #endif // SANITIZER_MAC
41 #endif // SANITIZER_MAC_H