Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

*** empty log message ***

  • Loading branch information...
commit 131d9cb2dcf256ddf824d0967fb32f34ee5cfbf3 1 parent 47442c4
@zsuraski zsuraski authored
Showing with 6 additions and 2 deletions.
  1. +4 −2 Zend/zend_API.h
  2. +2 −0  Zend/zend_config.w32.h
View
6 Zend/zend_API.h
@@ -116,10 +116,12 @@ ZEND_API void wrong_param_count(void);
#define getThis() (this_ptr)
-#define WRONG_PARAM_COUNT { wrong_param_count(); return; }
-#define WRONG_PARAM_COUNT_WITH_RETVAL(ret) { wrong_param_count(); return ret; }
+#define WRONG_PARAM_COUNT ZEND_WRONG_PARAM_COUNT()
+#define WRONG_PARAM_COUNT_WITH_RETVAL(ret) ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret)
#define ARG_COUNT(dummy) (ht)
#define ZEND_NUM_ARGS() (ht)
+#define ZEND_WRONG_PARAM_COUNT() { wrong_param_count(); return; }
+#define ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret) { wrong_param_count(); return ret; }
#ifndef ZEND_WIN32
#define DLEXPORT
View
2  Zend/zend_config.w32.h
@@ -66,4 +66,6 @@ typedef unsigned int uint;
# define ZEND_API __declspec(dllimport)
#endif
+#define ZEND_DLEXPORT __declspec(dllexport)
+
#endif /* _ZEND_CONFIG_W32_H */
Please sign in to comment.
Something went wrong with that request. Please try again.