From 8a8a4419722f7cfe6f897d868cbbfd1e85273f66 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 27 Aug 2016 22:25:02 +0200 Subject: [PATCH] fix clang compat --- ext/bcmath/libbcmath/src/bcmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.50.1