Ticket #8825: comparison--BeBuild-BeBuild.diff

File comparison--BeBuild-BeBuild.diff, 1.5 KB (added by mmadia, 12 years ago)
  • os/BeBuild.h

    old new  
    66#define _BE_BUILD_H
    77
    88
    9 #include <config_build/HaikuConfig.h>
     9#include <config/HaikuConfig.h>
    1010
    1111
    1212#define B_BEOS_VERSION_4                0x0400
     
    2222#define B_HAIKU_VERSION_DANO            0x00000003
    2323#define B_HAIKU_VERSION_1_ALPHA_1       0x00000100
    2424#define B_HAIKU_VERSION_1_PRE_ALPHA_2   0x00000101
     25#define B_HAIKU_VERSION_1_ALPHA_2       0x00000200
     26#define B_HAIKU_VERSION_1_PRE_ALPHA_3   0x00000201
     27#define B_HAIKU_VERSION_1_ALPHA_3       0x00000300
     28#define B_HAIKU_VERSION_1_PRE_BETA_1        0x00000301
    2529#define B_HAIKU_VERSION_1               0x00010000
    2630
    27 #define B_HAIKU_VERSION                 B_HAIKU_VERSION_1_PRE_ALPHA_2
     31#define B_HAIKU_VERSION                 B_HAIKU_VERSION_1_PRE_BETA_1
    2832
    2933/* Haiku ABI */
    3034#define B_HAIKU_ABI_MAJOR               0xffff0000
     
    3539#define B_HAIKU_ABI_GCC_2_BEOS          0x00020001
    3640#define B_HAIKU_ABI_GCC_2_HAIKU         0x00020002
    3741
     42#define B_HAIKU_ABI_NAME                __HAIKU_ARCH_ABI
     43
    3844#if __GNUC__ == 2
    3945#   define B_HAIKU_ABI                  B_HAIKU_ABI_GCC_2_HAIKU
    40 #elif __GNUC__ == 3 || __GNUC__ == 4
     46#elif __GNUC__ == 4
    4147#   define B_HAIKU_ABI                  B_HAIKU_ABI_GCC_4
    4248#else
    4349#   error Unsupported gcc version!
     
    7480#define B_DEFINE_SYMBOL_VERSION(function, versionedSymbol)  \
    7581    __asm__(".symver " function "," versionedSymbol)
    7682
    77 
    78 #define _IMPEXP_ROOT
    79 #define _IMPEXP_BE
     83#define B_DEFINE_WEAK_ALIAS(name, alias_name)   \
     84    __typeof(name) alias_name __attribute__((weak, alias(#name)))
    8085
    8186
    8287#endif  /* _BE_BUILD_H */