/*
Copyright 2002-2008 Greg Kochanski. 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

This program may be downloaded from http://www.sourceforge.org from the "speechresearch" project.
*/
#ifndef STD_H
#ifdef TRUE
# if TRUE != 1
#   error "Inconsistent TRUE"
# endif
#else
#  define TRUE 1
#endif
#ifdef FALSE
#  if FALSE != 0
#    error "Inconsistent FALSE"
#  endif
#else
#  define FALSE 0
#endif

#ifdef ENABLE_OPEN_MP
#  if _OPENMP		/* Open MP  C99 */
#    define OPENMP(x) _Pragma (#x)
#  else
#    define OPENMP(x) /**/
#  endif
#else
#  define OPENMP(x) /**/
#endif

typedef unsigned short BITS;
typedef int BOOL;
typedef char TBOOL;	/* Tiny BOOLean variable */
typedef unsigned long LBITS;
typedef unsigned char TBITS;
typedef char TINY;
#define IMPORT extern
#define GLOBAL	/* */
#define LOCAL	static
#define C	const

#ifdef __cplusplus

#if 0
# define PLAIN_C_START extern "C" {
# define PLAIN_C_END	}
# define PLAIN_C	extern "C"
#else
# define PLAIN_C_START	/* */
# define PLAIN_C_END	/* */
# define PLAIN_C	/* */
#endif

#else
# define PLAIN_C_START	/* */
# define PLAIN_C_END	/* */
# define PLAIN_C	/* */
#endif

#define STD_H 1
#endif
