We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340e2ea commit f06a6b4Copy full SHA for f06a6b4
ext/ffi/ffi.c
@@ -312,7 +312,7 @@ static ffi_type *zend_ffi_make_fake_struct_type(zend_ffi_type *type) /* {{{ */
312
case ZEND_FFI_TYPE_DOUBLE:
313
t->elements[i] = &ffi_type_double;
314
break;
315
-#ifndef PHP_WIN32
+#ifdef HAVE_LONG_DOUBLE
316
case ZEND_FFI_TYPE_LONGDOUBLE:
317
t->elements[i] = &ffi_type_longdouble;
318
@@ -359,7 +359,7 @@ static ffi_type *zend_ffi_get_type(zend_ffi_type *type) /* {{{ */
359
return &ffi_type_float;
360
361
return &ffi_type_double;
362
363
364
return &ffi_type_longdouble;
365
#endif
0 commit comments