Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
00001 /* 00002 00003 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00004 00005 This program is free software; you can redistribute it and/or modify it 00006 under the terms of version 2 of the GNU General Public License as 00007 published by the Free Software Foundation. 00008 00009 This program is distributed in the hope that it would be useful, but 00010 WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00012 00013 Further, this software is distributed without any warranty that it is 00014 free of the rightful claim of any third person regarding infringement 00015 or the like. Any license provided herein, whether implied or 00016 otherwise, applies only to this software file. Patent licenses, if 00017 any, provided herein do not apply to combinations of this program with 00018 other software, or any other product whatsoever. 00019 00020 You should have received a copy of the GNU General Public License along 00021 with this program; if not, write the Free Software Foundation, Inc., 59 00022 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00023 00024 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00025 Mountain View, CA 94043, or: 00026 00027 http://www.sgi.com 00028 00029 For further information regarding this notice, see: 00030 00031 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00032 00033 */ 00034 00035 00036 /* $Header: /m_home/m_utkej/Argonne/cvs2svn/cvs/Open64/osprey1.0/include/cmplrs/host.h,v 1.1.1.1 2002-05-22 20:09:05 dsystem Exp $ */ 00037 00038 #ifndef _HOST_H 00039 #define _HOST_H 00040 /* 00041 ** host.h 00042 ** 00043 ** Basic type declarations, macros, ... to promote reuse and 00044 ** portability throughout the compiler. 00045 ** 00046 ** Include this file before all others. 00047 */ 00048 00049 #if (defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)) 00050 00051 typedef int boolean; 00052 #ifndef TRUE 00053 #define TRUE (1) 00054 #define FALSE (0) 00055 #endif 00056 00057 typedef char *string; 00058 typedef char char_t; 00059 #ifndef __sgi 00060 /* gb - sys/types.h defines these types, which is included by <signal.h> */ 00061 typedef unsigned char uchar_t; 00062 #endif 00063 typedef signed short short_t; 00064 #ifndef __sgi 00065 typedef unsigned short ushort_t; 00066 #endif 00067 typedef signed int int_t; 00068 #ifndef __sgi 00069 typedef unsigned int uint_t; 00070 #endif 00071 typedef signed long long_t; 00072 #ifndef __sgi 00073 typedef unsigned long ulong_t; 00074 #else 00075 #include <sys/types.h> 00076 #endif 00077 00078 #if defined(_LONGLONG) 00079 typedef signed long long longlong_t; 00080 typedef unsigned long long ulonglong_t; 00081 #else 00082 typedef signed long longlong_t; 00083 typedef unsigned long ulonglong_t; 00084 #endif 00085 00086 typedef signed char int8; 00087 typedef unsigned char uint8; 00088 typedef signed short int16; 00089 typedef unsigned short uint16; 00090 typedef signed int int32; 00091 typedef unsigned int uint32; 00092 typedef longlong_t int64; 00093 typedef ulonglong_t uint64; 00094 00095 typedef void *pointer; /* a generic pointer type */ 00096 typedef double double_t; 00097 typedef float float_t; 00098 typedef int32 fsize_t; /* Size of a "hidden length" when passing Fortran CHARACTER arguments */ 00099 /* Another reasonable choice: (requires <string.h>) 00100 ** typedef size_t fsize_t; 00101 */ 00102 00103 00104 #endif 00105 00106 #if defined(_LANGUAGE_PASCAL) 00107 00108 #if defined(_LONGLONG) 00109 type long_integer = integer64; 00110 type long_cardinal = cardinal64; 00111 #else 00112 type long_integer = integer; 00113 type long_cardinal = cardinal; 00114 #endif 00115 #endif 00116 00117 #endif 00118