Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
00001 /* USMID @(#) clibinc/clibdefs.h 92.2 07/26/99 12:57:02 */ 00002 00003 00004 /* 00005 00006 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00007 00008 This program is free software; you can redistribute it and/or modify it 00009 under the terms of version 2 of the GNU General Public License as 00010 published by the Free Software Foundation. 00011 00012 This program is distributed in the hope that it would be useful, but 00013 WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00015 00016 Further, this software is distributed without any warranty that it is 00017 free of the rightful claim of any third person regarding infringement 00018 or the like. Any license provided herein, whether implied or 00019 otherwise, applies only to this software file. Patent licenses, if 00020 any, provided herein do not apply to combinations of this program with 00021 other software, or any other product whatsoever. 00022 00023 You should have received a copy of the GNU General Public License along 00024 with this program; if not, write the Free Software Foundation, Inc., 59 00025 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00026 00027 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00028 Mountain View, CA 94043, or: 00029 00030 http://www.sgi.com 00031 00032 For further information regarding this notice, see: 00033 00034 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00035 00036 */ 00037 00038 #ifndef _CLIBDEFS_H 00039 #define _CLIBDEFS_H 00040 00041 /* 00042 * Note SV2 is part of _CRAY. 00043 */ 00044 #if defined(_LITTLE_ENDIAN) /* Little Endian IEEE */ 00045 #include <sys/cdefs.h> 00046 00047 #ifndef _WORD32 00048 #define _WORD32 1 /* sizeof(int) is 4 bytes/32 bits */ 00049 #endif 00050 00051 #elif _CRAY 00052 00053 #include <sys/cdefs.h> 00054 00055 #elif defined(_ABSOFT) 00056 00057 #ifndef _WORD32 00058 #define _WORD32 1 /* sizeof(int) is 4 bytes/32 bits */ 00059 #endif 00060 #ifndef _ADDR32 00061 #define _ADDR32 1 /* sizeof(int*) is 4 bytes/32 bits */ 00062 #endif 00063 #ifndef _CRAYIEEE 00064 #define _CRAYIEEE 1 /* IEEE arithmetic */ 00065 #endif 00066 00067 #include <sys/cdefs.h> 00068 00069 #elif defined(__mips) 00070 00071 #include <sys/cdefs.h> 00072 00073 #if _MIPS_SZLONG == 32 00074 #define _WORD32 1 /* sizeof(long) is 4 bytes/32 bits */ 00075 #endif 00076 00077 #else /* Solaris assumed */ 00078 00079 #define _SOLARIS 1 00080 #define _WORD32 1 /* sizeof(int) is 4 bytes/32 bits */ 00081 #define _ADDR32 1 /* sizeof(int*) is 4 bytes/32 bits */ 00082 #define _CRAYIEEE 1 /* IEEE arithmetic */ 00083 00084 #if defined(__cplusplus) 00085 #define __BEGIN_DECLS extern "C" { 00086 #define __END_DECLS }; 00087 #define _DOTDOTDOT ... 00088 #else 00089 #define __BEGIN_DECLS 00090 #define __END_DECLS 00091 #define _DOTDOTDOT 00092 #endif 00093 00094 #if defined(__STDC__) || defined(__cplusplus) 00095 #define __(_A) _A 00096 #else 00097 #define __(_A) () 00098 #endif 00099 00100 #endif /* Solaris */ 00101 00102 #endif /* ! _CLIBDEFS_H */