mirror of https://github.com/proski/madwifi
Add labs macro
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2876 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
34a98e1501
commit
e4dc719a3c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue