diff options
author | David Robillard <d@drobilla.net> | 2024-11-15 09:25:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-17 14:40:27 -0500 |
commit | 3fdc8055b8c40b20c1fdd0cd27c954effd3fd0c3 (patch) | |
tree | ac6a9f1efc0c392f23000e3321a27eb196fe9d16 /src | |
parent | dddab25a19280a13f08debbd00f99e84e54ef708 (diff) | |
download | jalv-3fdc8055b8c40b20c1fdd0cd27c954effd3fd0c3.tar.gz jalv-3fdc8055b8c40b20c1fdd0cd27c954effd3fd0c3.tar.bz2 jalv-3fdc8055b8c40b20c1fdd0cd27c954effd3fd0c3.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_config.h | 15 |
1 files changed, 0 insertions, 15 deletions
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 |