1238901Sandrew//===-- interception_mac.h --------------------------------------*- C++ -*-===// 2238901Sandrew// 3238901Sandrew// The LLVM Compiler Infrastructure 4238901Sandrew// 5238901Sandrew// This file is distributed under the University of Illinois Open Source 6238901Sandrew// License. See LICENSE.TXT for details. 7238901Sandrew// 8238901Sandrew//===----------------------------------------------------------------------===// 9238901Sandrew// 10238901Sandrew// This file is a part of AddressSanitizer, an address sanity checker. 11238901Sandrew// 12238901Sandrew// Mac-specific interception methods. 13238901Sandrew//===----------------------------------------------------------------------===// 14238901Sandrew 15238901Sandrew#ifdef __APPLE__ 16238901Sandrew 17238901Sandrew#if !defined(INCLUDED_FROM_INTERCEPTION_LIB) 18238901Sandrew# error "interception_mac.h should be included from interception.h only" 19238901Sandrew#endif 20238901Sandrew 21238901Sandrew#ifndef INTERCEPTION_MAC_H 22238901Sandrew#define INTERCEPTION_MAC_H 23238901Sandrew 24251034Sed#define INTERCEPT_FUNCTION_MAC(func) 25274201Sdim#define INTERCEPT_FUNCTION_VER_MAC(func, symver) 26238901Sandrew 27238901Sandrew#endif // INTERCEPTION_MAC_H 28238901Sandrew#endif // __APPLE__ 29