fis-gtm/sr_port/code_address_type.h

31 lines
1.0 KiB
C

/****************************************************************
* *
* Copyright 2007, 2011 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#ifndef CODE_ADDRESS_TYPE_INCLUDE
#define CODE_ADDRESS_TYPE_INCLUDE
#include "mdef.h"
#ifdef __ia64
GBLREF int function_type(char*);
#endif /* __ia64 */
#define GTM_C_RTN 1
#define GTM_ASM_RTN 2
#ifndef __ia64
#define CODE_ADDRESS_TYPE(func) &func
#else /* __ia64 */
#define CODE_ADDRESS_TYPE(func) CODE_ADDRESS(func)
#endif /* __ia64 */
#endif /* CODE_ADDRESS_TYPE_INCLUDE */