diff options
author | Toomas Soome <tsoome@me.com> | 2019-09-09 13:10:39 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-09-27 21:39:17 +0300 |
commit | 10ae99ee6a0e5168918d2bba208bcf536edb08f7 (patch) | |
tree | 329ad2ea86b264ce2350942fd309353af411d26f /usr/src/uts/common/sys/sysmacros.h | |
parent | f2211ffec9a7ac3c1efc6de9347072f816f10a60 (diff) | |
download | illumos-joyent-10ae99ee6a0e5168918d2bba208bcf536edb08f7.tar.gz |
11667 remove duplicate lz4 implementations
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys/sysmacros.h')
-rw-r--r-- | usr/src/uts/common/sys/sysmacros.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/sysmacros.h b/usr/src/uts/common/sys/sysmacros.h index 5dc6eee0ec..1540840aff 100644 --- a/usr/src/uts/common/sys/sysmacros.h +++ b/usr/src/uts/common/sys/sysmacros.h @@ -66,6 +66,10 @@ extern "C" { #define SIGNOF(a) ((a) < 0 ? -1 : (a) > 0) #endif +#ifndef __DECONST +#define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) +#endif + #ifdef _KERNEL /* |