00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _BE_BUILD_H
00012 #define _BE_BUILD_H
00013
00014 #include <ProductFeatures.h>
00015
00016 #define B_BEOS_VERSION_4 0x0400
00017 #define B_BEOS_VERSION_4_5 0x0450
00018 #define B_BEOS_VERSION_5 0x0500
00019 #define B_BEOS_VERSION_5_0_4 0x0504
00020 #define B_BEOS_VERSION_5_1_0 0x0510
00021 #define B_ZETA_VERSION_0_2_0 0x0520
00022 #define B_ZETA_VERSION_0_3_0 0x0530
00023 #define B_ZETA_VERSION_0_4_0 0x0540
00024 #define B_ZETA_VERSION_0_4_1 0x0541
00025 #define B_ZETA_VERSION_1_0_0 0x0600
00026 #define B_ZETA_VERSION_1_0_1 0x0601
00027
00028
00029 #define B_BEOS_VERSION_MAUI B_BEOS_VERSION_5
00030 #define B_BEOS_VERSION_DANO B_BEOS_VERSION_5_1_0
00031 #define B_ZETA_VERSION_BETA B_ZETA_VERSION_0_2_0
00032 #define B_ZETA_VERSION_GESTALT B_ZETA_VERSION_0_3_0
00033 #define B_ZETA_VERSION_BELLA B_ZETA_VERSION_0_4_0
00034 #define B_ZETA_VERSION_NEO B_ZETA_VERSION_0_4_1
00035 #define B_ZETA_VERSION_VENTURE B_ZETA_VERSION_1_0_0
00036 #define B_ZETA_VERSION_HANK B_ZETA_VERSION_1_0_1
00037
00038 #define B_ZETA_VERSION B_ZETA_VERSION_HANK
00039 #define B_BEOS_VERSION B_ZETA_VERSION
00040
00041
00042
00043
00044 #ifndef _R5_COMPATIBLE_
00045 #define _R5_COMPATIBLE_ 1
00046 #endif
00047
00048 #if _R5_COMPATIBLE_
00049 #if defined(__powerc) || defined(powerc)
00050 #define _PR2_COMPATIBLE_ 1
00051 #define _PR3_COMPATIBLE_ 1
00052 #define _R4_COMPATIBLE_ 1
00053 #define _R4_5_COMPATIBLE_ 1
00054 #define _R5_COMPATIBLE_ 1
00055 #define _R5_0_4_COMPATIBLE_ 1
00056 #else
00057 #define _PR2_COMPATIBLE_ 0
00058 #define _PR3_COMPATIBLE_ 0
00059 #define _R4_COMPATIBLE_ 1
00060 #define _R4_5_COMPATIBLE_ 1
00061 #define _R5_COMPATIBLE_ 1
00062 #define _R5_0_4_COMPATIBLE_ 1
00063 #endif
00064 #else
00065 #define _PR2_COMPATIBLE_ 0
00066 #define _PR3_COMPATIBLE_ 0
00067 #define _R4_COMPATIBLE_ 0
00068 #define _R4_5_COMPATIBLE_ 0
00069 #define _R5_COMPATIBLE_ 0
00070 #define _R5_0_4_COMPATIBLE_ 0
00071 #endif
00072
00073 #if __GNUC__
00074 #define _UNUSED(x) x
00075 #define _PACKED __attribute__((packed))
00076 #endif
00077
00078 #define _EXPORT
00079 #define _IMPORT
00080
00081 #endif