Browse Source

define __weak_alias

OPENBSD_5_7
Brent Cook 10 years ago
parent
commit
55a755daff
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      include/sys/types.h

+ 6
- 0
include/sys/types.h View File

@ -18,6 +18,12 @@
#define __dead #define __dead
#endif #endif
#if !defined(HAVE_ATTRIBUTE__WEAK_ALIAS) && !defined(__weak_alias)
#define __weak_alias(alias,sym) \
__asm__(".weak " __STRING(alias) " ; " \
__STRING(alias) " = " __STRING(sym))
#endif
#if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__) #if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
# define __bounded__(x, y, z) # define __bounded__(x, y, z)
#endif #endif


Loading…
Cancel
Save