mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-15 00:31:29 +00:00
36 lines
975 B
C
36 lines
975 B
C
|
//===-- sanitizer_mac.h -----------------------------------------*- C++ -*-===//
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This file is shared between various sanitizers' runtime libraries and
|
||
|
// provides definitions for OSX-specific functions.
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
#ifndef SANITIZER_MAC_H
|
||
|
#define SANITIZER_MAC_H
|
||
|
|
||
|
#include "sanitizer_platform.h"
|
||
|
#if SANITIZER_MAC
|
||
|
|
||
|
namespace __sanitizer {
|
||
|
|
||
|
enum MacosVersion {
|
||
|
MACOS_VERSION_UNINITIALIZED = 0,
|
||
|
MACOS_VERSION_UNKNOWN,
|
||
|
MACOS_VERSION_LEOPARD,
|
||
|
MACOS_VERSION_SNOW_LEOPARD,
|
||
|
MACOS_VERSION_LION,
|
||
|
MACOS_VERSION_MOUNTAIN_LION,
|
||
|
MACOS_VERSION_MAVERICKS,
|
||
|
MACOS_VERSION_YOSEMITE,
|
||
|
};
|
||
|
|
||
|
MacosVersion GetMacosVersion();
|
||
|
|
||
|
} // namespace __sanitizer
|
||
|
|
||
|
#endif // SANITIZER_MAC
|
||
|
#endif // SANITIZER_MAC_H
|