NetBSD: Use PROT_MPROTECT() and disable getentropy().
Note: this is not an officially supported target. Contributed by David Carlier.
This commit is contained in:
@@ -121,7 +121,7 @@ static PRGR libfunc_rgr;
|
||||
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
|
||||
#define LJ_TARGET_HAS_GETENTROPY 1
|
||||
#endif
|
||||
#elif LJ_TARGET_BSD || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
|
||||
#elif (LJ_TARGET_BSD && !defined(__NetBSD__)) || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
|
||||
#define LJ_TARGET_HAS_GETENTROPY 1
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user