From: Anatol Belski Date: Sat, 27 Aug 2016 20:25:02 +0000 (+0200) Subject: fix clang compat X-Git-Tag: php-7.1.0RC1~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a8a4419722f7cfe6f897d868cbbfd1e85273f66;p=php fix clang compat --- diff --git a/ext/bcmath/libbcmath/src/bcmath.h b/ext/bcmath/libbcmath/src/bcmath.h index 513725f5c2..28d275d32c 100644 --- a/ext/bcmath/libbcmath/src/bcmath.h +++ b/ext/bcmath/libbcmath/src/bcmath.h @@ -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()