/******************************************************************************/
/*                       Copyright 2001 Broadcom Corporation                  */
/*                                                                            */
/* This material is the confidential trade secret and proprietary information */
/* of Broadcom Corp.  It may not be reproduced, used, sold or transferred to  */
/* any third party without the prior written consent of Broadcom Corp.        */
/* All rights reserved.                                                       */
/******************************************************************************/
/*   FileName        : bcm_BasicTypes.h                                       */
/*   Purpose         : some basic types with accurate byte count              */
/*   Limitations     : None                                                   */
/*   Author          : Emmanuel Hanssens                                      */
/*   Creation Date   : 13-Sep-2001                                            */
/*   History         : Compiled by CVS                                        */
/******************************************************************************/
/*   $Id: bcm_BasicTypes.h,v 1.26 2004/06/22 13:55:22 hanssens Exp $  */
/******************************************************************************/

#ifndef BCM_BASIC_TYPES_H
# define BCM_BASIC_TYPES_H

/* Definitions of variables of exact length. */

# ifdef __GNUC__
/* Definitions for GCC */
typedef signed char int8;
typedef signed short int int16;
typedef signed long int int32;
typedef signed long long int int64 __attribute__ ((aligned(8)));
typedef unsigned char uint8;
typedef unsigned short int uint16;
typedef unsigned long int uint32;
typedef unsigned long long int uint64 __attribute__ ((aligned(8)));
typedef unsigned char Bool;
# elif defined(_WIN32)
/* Definitions for Visual C++ */
typedef signed __int8 int8;
typedef signed __int16 int16;
typedef signed __int32 int32;
typedef signed __int64 int64;
typedef unsigned __int8 uint8;
typedef unsigned __int16 uint16;
typedef unsigned __int32 uint32;
typedef unsigned __int64 uint64;
typedef unsigned __int8 Bool;
#endif

#endif
