00001 
00002 
00003 
00004 
00005 
#ifndef _EM_PUBLIC_H
00006 
#define _EM_PUBLIC_H
00007 
00008 
00009 
00010 
00011 
00012 #define LITTLE_ENDIAN
00013 
00014 
#ifndef INLINE
00015 
#define INLINE
00016 
#endif
00017 
00018 
#if !(defined(BIG_ENDIAN) || defined(LITTLE_ENDIAN))
00019 
    #error Endianness not established; define BIG_ENDIAN or LITTLE_ENDIAN
00020 
#endif
00021 
00022 
00023 
00024 
00025 
00026  
00027 
#include <stdio.h>
00028 
#include <memory.h>
00029 
#ifndef unix
00030 
#include <setjmp.h>
00031 
#endif
00032 
 
00033 
00034 
00035 
00036 
00037 
#include "fetypes.h"
00038 
#include "festate.h"
00039 
#include "fesupprt.h"
00040 
#include "fehelper.h"
00041 
#include "feproto.h"
00042 
00043 #define U64_lsh(val, bits)  ((bits) > 63 ? 0 : (EM_uint64_t)(val) << (bits))
00044 #define fp_U64_rsh(val, bits)  ((bits) > 63 ? 0 : (EM_uint64_t)(val) >> (bits))
00045 #define LL_SSHR(val, bits)  ((EM_uint64_t)(val) >> ((bits) > 63 ? 63 : (bits)))
00046 
00047 
#endif