summaryrefslogtreecommitdiff
path: root/zend/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'zend/includes.h')
-rw-r--r--zend/includes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/zend/includes.h b/zend/includes.h
index 874b0b1..93c74ec 100644
--- a/zend/includes.h
+++ b/zend/includes.h
@@ -44,6 +44,17 @@
#define BOOL2SUCCESS(b) ((b) ? SUCCESS : FAILURE)
/**
+ * Macro to be able to support MSVC compiler
+ */
+#ifndef _NOEXCEPT
+# ifndef _MSC_VER
+# define _NOEXCEPT noexecpt
+# else
+# define _NOEXCEPT __declspec(nothrow)
+# endif
+#endif
+
+/**
* Include other files from this library
*/
#include "../include/version.h"