diff options
Diffstat (limited to 'usr/src/uts/common/sys/sysmacros.h')
-rw-r--r-- | usr/src/uts/common/sys/sysmacros.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/sysmacros.h b/usr/src/uts/common/sys/sysmacros.h index 9695982dcc..89a672db2f 100644 --- a/usr/src/uts/common/sys/sysmacros.h +++ b/usr/src/uts/common/sys/sysmacros.h @@ -57,6 +57,9 @@ extern "C" { #ifndef ABS #define ABS(a) ((a) < 0 ? -(a) : (a)) #endif +#ifndef SIGNOF +#define SIGNOF(a) ((a) < 0 ? -1 : (a) > 0) +#endif #ifdef _KERNEL |