00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00022 #include <stdint.h>
00023 #include <limits.h>
00024
00025 #if !defined(GLOBUS_CONFIG_H)
00026 #define GLOBUS_CONFIG_H 1
00027 #define BUILD_DEBUG 1
00028
00029 #ifdef __STDC__
00030 #ifndef HAVE_STDARG_H
00031 #define HAVE_STDARG_H
00032 #endif
00033 #endif
00034
00035 #ifdef _WIN32
00036 #define TARGET_ARCH_WIN32 1
00037 #define WINVER 0x0502
00038 #endif
00039
00040 #ifdef __MINGW32__
00041 #ifndef HAVE_IN6_IS_ADDR_UNSPECIFIED
00042 #define HAVE_IN6_IS_ADDR_UNSPECIFIED 1
00043 #endif
00044 #ifndef __USE_MINGW_ANSI_STDIO
00045 #define __USE_MINGW_ANSI_STDIO 1
00046 #endif
00047 #ifndef _POSIX
00048 #define _POSIX 1
00049 #endif
00050 #define TARGET_ARCH_MINGW32
00051 #endif
00052
00053 #ifdef __HOS_AIX__
00054 #define TARGET_ARCH_AIX 1
00055 #endif
00056
00057 #ifdef __FreeBSD__
00058 #define TARGET_ARCH_FREEBSD 1
00059 #define TARGET_ARCH_BSD 1
00060 #endif
00061
00062 #ifdef __OpenBSD__
00063 #define TARGET_ARCH_OPENBSD 1
00064 #define TARGET_ARCH_BSD 1
00065 #endif
00066
00067 #ifdef __CYGWIN__
00068 #define TARGET_ARCH_CYGWIN
00069 #endif
00070
00071 #ifdef __APPLE__
00072 #define TARGET_ARCH_DARWIN 1
00073 #define TARGET_ARCH_BSD 1
00074 #endif
00075
00076 #ifdef sun
00077 #define TARGET_ARCH_SOLARIS 1
00078 #ifdef __i386
00079 #define TARGET_ARCH_X86 1
00080 #endif
00081 #ifdef __x86_64
00082 #define TARGET_ARCH_X86_64 1
00083 #endif
00084 #endif
00085
00086 #ifdef __hpux
00087 #define TARGET_ARCH_HPUX 1
00088 #ifdef __ia64
00089 #define TARGET_ARCH_IA64 1
00090 #endif
00091 #endif
00092
00093 #if defined(__linux__) || defined(linux) || defined(__linux)
00094 #define TARGET_ARCH_LINUX 1
00095 #if defined(__x86_64) || defined(__x86_64__)
00096 #define TARGET_ARCH_X86 1
00097 #elif defined(i386) || defined(__i386) || defined(__i386__)
00098 #define TARGET_ARCH_X86_64 1
00099 #elif defined(__ia64) || defined(__itanium__)
00100 #define TARGET_ARCH_IA64 1
00101 #elif defined(__sparc)
00102 #define TARGET_ARCH_SPARC 1
00103 #endif
00104 #endif
00105
00106 #ifdef __GNUC__
00107 #define GLOBUS_FLAVOR_PREFIX "gcc"
00108 #else
00109 #define GLOBUS_FLAVOR_PREFIX "cc"
00110 #endif
00111
00112 #if LONG_MAX >= INT64_MAX
00113 #define GLOBUS_FLAVOR_SUFFIX "64"
00114 #else
00115 #define GLOBUS_FLAVOR_SUFFIX "32"
00116 #endif
00117
00118 #define GLOBUS_FLAVOR_NAME GLOBUS_FLAVOR_PREFIX GLOBUS_FLAVOR_SUFFIX
00119
00120 #endif