Add labs macro

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2876 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2007-11-21 08:31:35 +00:00
parent 34a98e1501
commit e4dc719a3c
1 changed files with 4 additions and 0 deletions

View File

@ -128,6 +128,10 @@ extern void * __ahdecl ath_hal_memcpy(void *, const void *, size_t);
#define abs(_a) __builtin_abs(_a)
#endif
#ifndef labs
#define labs(_a) __builtin_labs(_a)
#endif
struct ath_hal;
extern u_int32_t __ahdecl ath_hal_getuptime(struct ath_hal *);
#define OS_GETUPTIME(_ah) ath_hal_getuptime(_ah)