/*****************************************************************************/
/*                    Copyright (c) IBM Corporation 1996                     */
/*****************************************************************************/

/*****************************************************************************/
/* Change activity:                                                          */
/*                                                                           */
/*   Flag  Reason  Release  Date  Origin Description                         */
/*   ---- -------- ------- ------ ------ -----------                         */
/*   $L0=  JDK1.0   0100   960124 hdmkv: JDK 1.0 port                        */
/*   $P0=  000117   0100   960321 hdmkv: javaos2.h missing                   */
/*   $P1=  001012   0110   970220 hdmkv: 1.1.0                               */
/*   $L1=  JDK111   0111   970423 hdaj:  JDK 1.1.1 port                      */
/*   $P2=  001805   0111   970609 hdaj : New heap model                      */
/*   $P3=  JDK113   0113   970820 hdtjb: JDK 1.1.3 port                      */
/*                                                                           */
/*****************************************************************************/

#ifndef _OS2_TYPEDEF_MD_H_
#define _OS2_TYPEDEF_MD_H_
                                                                       /*@P0D*/
#include <bool.h>

typedef unsigned int  uint_t;
typedef          long int32_t;
typedef unsigned long uint32_t;

struct stat;                      /* Eliminate some warnings about stat  @P1A*/

#include <int64_md.h>
#include <float_md.h>						       /*@P2A*/

#define INT_OP(x,op,y)  (((#op[0]=='/')||(#op[0]=='%')) ?              /*@P1A*/ \
                         ( (((x)==0x80000000)&&((y)==-1)) ?            /*@P1A*/ \
                             ((x) op 1) :                              /*@P1A*/ \
                             ((x) op (y))) :                           /*@P1A*/ \
                         ((x) op (y)))                                 /*@P1A*/

#ifdef JAVA_DLL                                                        /*@L1A*/
#include <javaos2.h>                                                   /*@L1A*/
#else                                                                  /*@P2A*/
#define JIT_WAY 1                                                      /*@P2A*/
#define JIT_TRL 1                                                      /*@P2A*/
#define JMS_TRL 1                                                      /*@P2A*/
#define IBM_MIXED_MODE 1					/*ibm.8222*/
#endif                                                                 /*@L1A*/

#endif

/*****************************************************************************/
/* End of file                                                               */
/*****************************************************************************/
