]> granicus.if.org Git - php/commitdiff
fix clang compat
authorAnatol Belski <ab@php.net>
Sat, 27 Aug 2016 20:25:02 +0000 (22:25 +0200)
committerAnatol Belski <ab@php.net>
Sat, 27 Aug 2016 20:25:02 +0000 (22:25 +0200)
ext/bcmath/libbcmath/src/bcmath.h

index 513725f5c28fedd9f860c35e07ae7b1bd38885ee..28d275d32c1e943fca18d0728728bbe34dd39b51 100644 (file)
@@ -92,7 +92,7 @@ typedef struct bc_struct
 /* Define the _PROTOTYPE macro if it is needed. */
 
 #ifndef _PROTOTYPE
-#ifdef __STDC__
+#if defined(__STDC__) || defined(PHP_WIN32) && defined(__clang__)
 #define _PROTOTYPE(func, args) func args
 #else
 #define _PROTOTYPE(func, args) func()