summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-08-27 22:25:02 +0200
committerAnatol Belski <ab@php.net>2016-08-27 22:25:02 +0200
commit8a8a4419722f7cfe6f897d868cbbfd1e85273f66 (patch)
tree4ad7f013a3b85ef9173f29af9bbe6215b9788ad3 /ext/bcmath/libbcmath/src
parentd58202853d70e32b5836ac327a44df06adeb57e3 (diff)
downloadphp-git-8a8a4419722f7cfe6f897d868cbbfd1e85273f66.tar.gz
fix clang compat
Diffstat (limited to 'ext/bcmath/libbcmath/src')
-rw-r--r--ext/bcmath/libbcmath/src/bcmath.h2
1 files changed, 1 insertions, 1 deletions
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()