From 622caabcd25f4e11f752241417d06c9062acdf1f Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sun, 24 Dec 2023 23:38:32 +0800 Subject: [PATCH] Put more optional symbols behind ifdefs (#812) --- libffi.map.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libffi.map.in b/libffi.map.in index 08c50b2..c03ff31 100644 --- a/libffi.map.in +++ b/libffi.map.in @@ -20,7 +20,9 @@ LIBFFI_BASE_8.0 { ffi_type_sint64; ffi_type_float; ffi_type_double; +#ifdef HAVE_LONG_DOUBLE ffi_type_longdouble; +#endif ffi_type_pointer; /* Exported functions. */ @@ -52,7 +54,9 @@ LIBFFI_COMPLEX_8.0 { /* Exported data variables. */ ffi_type_complex_float; ffi_type_complex_double; +#ifdef HAVE_LONG_DOUBLE ffi_type_complex_longdouble; +#endif } LIBFFI_BASE_8.0; #endif -- 2.34.1