freebsd_network: add __UNCONST
Needed by the new DNS resolver from NetBSD.
This commit is contained in:
parent
0666a27d46
commit
27dab5c12d
@ -303,4 +303,8 @@
|
||||
#define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var))
|
||||
#endif
|
||||
|
||||
#ifndef __UNCONST
|
||||
#define __UNCONST(var) ((void*)(uintptr_t)(const void *)(var))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user