/* ==== cdefs.h ============================================================
 * Copyright (c) 1994 by Chris Provenzano, proven@athena.mit.edu	
 *
 * Description : Similar to the BSD cdefs.h file.
 *
 *  1.00 94/01/26 proven
 *      -Started coding this file.
 */

#ifndef _PTHREAD_SYS_CDEFS_H_
#define _PTHREAD_SYS_CDEFS_H_

/* Stuff for compiling */
#if defined(__GNUC__)
#define	__INLINE		extern inline
#if defined(__cplusplus)
#define __BEGIN_DECLS   extern "C" {
#define __END_DECLS     };
#define __P(protos)     protos
#else
#define __BEGIN_DECLS
#define __END_DECLS
#if defined(__STDC__)
#define __P(protos)     protos
#else
#define __P(protos)
#define const           __const
#define inline          __inline
#define signed          __signed
#define volatile        __volatile
#endif
#endif
#else /* !__GNUC__ */
#define __BEGIN_DECLS
#define __END_DECLS
#define	__INLINE		static 
#endif

#ifndef __NORETURN
#define __NORETURN
#endif /* __NORETURN not defined.  */

#endif
