freebsd_network: add __UNCONST

Needed by the new DNS resolver from NetBSD.
This commit is contained in:
Adrien Destugues 2015-06-14 11:01:06 +02:00
parent 0666a27d46
commit 27dab5c12d
1 changed files with 4 additions and 0 deletions

View File

@ -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