Put more optional symbols behind ifdefs (#812)
authorChongyun Lee <45286352+licy183@users.noreply.github.com>
Sun, 24 Dec 2023 15:38:32 +0000 (23:38 +0800)
committerGitHub <noreply@github.com>
Sun, 24 Dec 2023 15:38:32 +0000 (10:38 -0500)
libffi.map.in

index 08c50b22d201ad3988cf5657108d1cbade869aea..c03ff31b5035575dd6fd4e6328c86d65b2144387 100644 (file)
@@ -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