interception_mac.h revision 302408
1//===-- interception_mac.h --------------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file is a part of AddressSanitizer, an address sanity checker. 11// 12// Mac-specific interception methods. 13//===----------------------------------------------------------------------===// 14 15#ifdef __APPLE__ 16 17#if !defined(INCLUDED_FROM_INTERCEPTION_LIB) 18# error "interception_mac.h should be included from interception.h only" 19#endif 20 21#ifndef INTERCEPTION_MAC_H 22#define INTERCEPTION_MAC_H 23 24#define INTERCEPT_FUNCTION_MAC(func) 25#define INTERCEPT_FUNCTION_VER_MAC(func, symver) 26 27#endif // INTERCEPTION_MAC_H 28#endif // __APPLE__ 29