host.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 # if defined(_HOST_OS_LINUX)
00045 typedef long double ldouble;
00046 # elif defined(_HOST_OS_SOLARIS) || (defined(_HOST_OS_IRIX) || defined(_HOST_OS_LINUX))
00047 typedef double ldouble;
00048 # else
00049 typedef long double ldouble;
00050 # endif
00051
00052
00053 # if defined(_HOST32) && defined(_TARGET64)
00054 typedef long long long_type;
00055 typedef double float_type;
00056 # else
00057 # if defined(_HOST_OS_MAX)
00058 typedef double float_type;
00059 # else
00060 typedef float float_type;
00061 # endif
00062 typedef long long_type;
00063 # endif
00064
00065
00066
00067 # if defined(_HOST32)
00068 typedef long long long64;
00069 # else
00070 typedef long long64;
00071 # endif
00072
00073
00074 typedef unsigned int boolean;
00075 typedef unsigned int Uint;
00076 typedef unsigned long Ulong;
00077
00078
00079 # include <stdlib.h>
00080 # include <ctype.h>
00081 # include <stdio.h>
00082 # include <string.h>
00083 # include <limits.h>
00084 # include <unistd.h>
00085 # include <sys/param.h>
00086
00087 # if defined(_HOST_OS_UNICOS) || defined(_HOST_OS_MAX) || (defined(_HOST_OS_IRIX) || defined(_HOST_OS_LINUX))
00088 # include <math.h>
00089
00090 # if !(defined(_HOST_OS_IRIX) || defined(_HOST_OS_LINUX)) && defined(_DEBUG)
00091 # include <malloc.h>
00092 # endif
00093
00094 # endif
00095