From 3fdc8055b8c40b20c1fdd0cd27c954effd3fd0c3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Nov 2024 09:25:49 -0500 Subject: Use fewer platform-specific APIs The previous few commits replaced the use of various platform-specific things, leaving mostly only POSIX, so clean up the configuration defines to require only what's needed. --- src/jalv_config.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src') diff --git a/src/jalv_config.h b/src/jalv_config.h index 3d0133e..4bcda8c 100644 --- a/src/jalv_config.h +++ b/src/jalv_config.h @@ -60,15 +60,6 @@ # endif # endif -// POSIX.1-2001: mlock() -# ifndef HAVE_MLOCK -# if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L -# define HAVE_MLOCK 1 -# else -# define HAVE_MLOCK 0 -# endif -# endif - // POSIX.1-2001: posix_memalign() # ifndef HAVE_POSIX_MEMALIGN # if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L @@ -142,12 +133,6 @@ # define USE_ISATTY 0 #endif -#if HAVE_MLOCK -# define USE_MLOCK 1 -#else -# define USE_MLOCK 0 -#endif - #if HAVE_POSIX_MEMALIGN # define USE_POSIX_MEMALIGN 1 #else -- cgit v1.2.1