// Rowley C Compiler, runtime support.
//
// Copyright (c) 2001, 2002, 2003, 2004 Rowley Associates Limited.
//
// This file may be distributed under the terms of the License Agreement
// provided with this software.
//
// THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

#ifndef __crossworks_H
#define __crossworks_H

#ifdef __CROSSWORKS
#define __SIZE_T unsigned
#define __PTRDIFF_T int
typedef unsigned char *__va_list;
#pragma intrinsic(__va_base)
#else
#define __SIZE_T unsigned long
#define __PTRDIFF_T int
typedef __builtin_va_list __va_list;
#endif

#ifndef __CODE
#if defined(__CROSSWORKS_AVR) || defined(__CROSSWORKS_MAXQ)
#define __CODE __code
#else
#define __CODE
#endif
#endif

#endif
