00001 /* 00002 * Copyright 2005 PathScale, Inc. All Rights Reserved. 00003 */ 00004 00005 /* 00006 00007 Copyright (C) 2000,2004 Silicon Graphics, Inc. All Rights Reserved. 00008 00009 This program is free software; you can redistribute it and/or modify it 00010 under the terms of version 2.1 of the GNU Lesser General Public License 00011 as published by the Free Software Foundation. 00012 00013 This program is distributed in the hope that it would be useful, but 00014 WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 00017 Further, this software is distributed without any warranty that it is 00018 free of the rightful claim of any third person regarding infringement 00019 or the like. Any license provided herein, whether implied or 00020 otherwise, applies only to this software file. Patent licenses, if 00021 any, provided herein do not apply to combinations of this program with 00022 other software, or any other product whatsoever. 00023 00024 You should have received a copy of the GNU Lesser General Public 00025 License along with this program; if not, write the Free Software 00026 Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, 00027 USA. 00028 00029 Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, 00030 Mountain View, CA 94043, or: 00031 00032 http://www.sgi.com 00033 00034 For further information regarding this notice, see: 00035 00036 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00037 00038 */ 00039 00040 00041 /* libdwarfdefs.h 00042 */ 00043 00044 #ifndef LIBDWARFDEFS_H 00045 #define LIBDWARFDEFS_H 00046 00047 /* We want __uint32_t and __uint64_t and __int32_t __int64_t 00048 properly defined but not duplicated, since duplicate typedefs 00049 are not legal C. 00050 */ 00051 /* 00052 HAVE___UINT32_T 00053 HAVE___UINT64_T will be set by configure if 00054 our 4 types are predefined in compiler 00055 */ 00056 00057 00058 #if (!defined(HAVE___UINT32_T)) && defined(HAVE___UINT32_T_IN_SGIDEFS_H) 00059 #include <sgidefs.h> /* sgidefs.h defines them */ 00060 #define HAVE___UINT32_T 1 00061 #endif 00062 00063 #if (!defined(HAVE___UINT64_T)) && defined(HAVE___UINT64_T_IN_SGIDEFS_H) 00064 #include <sgidefs.h> /* sgidefs.h defines them */ 00065 #define HAVE___UINT64_T 1 00066 #endif 00067 00068 00069 #if (!defined(HAVE___UINT32_T)) && \ 00070 defined(HAVE_SYS_TYPES_H) && \ 00071 defined(HAVE___UINT32_T_IN_SYS_TYPES_H) 00072 # include <sys/types.h> 00073 #define HAVE___UINT32_T 1 00074 #endif 00075 00076 #if (!defined(HAVE___UINT64_T)) && \ 00077 defined(HAVE_SYS_TYPES_H) && \ 00078 defined(HAVE___UINT64_T_IN_SYS_TYPES_H) 00079 # include <sys/types.h> 00080 #define HAVE___UINT64_T 1 00081 #endif 00082 00083 #ifndef HAVE___UINT32_T 00084 typedef int __int32_t; 00085 typedef unsigned __uint32_t; 00086 #define HAVE___UINT32_T 1 00087 #endif 00088 00089 #ifndef HAVE___UINT64_T 00090 typedef long long __int64_t; 00091 typedef unsigned long long __uint64_t; 00092 #define HAVE___UINT64_T 1 00093 #endif 00094 00095 #endif /* LIBDWARFDEFS_H */
1.5.6