Explorar el Código

Feat(TSRM): 8.0

viest hace 5 años
padre
commit
27bdbde698
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      php_xlswriter.h

+ 7 - 0
php_xlswriter.h

@@ -32,6 +32,13 @@ extern zend_module_entry xlswriter_module_entry;
 #include "TSRM.h"
 #endif
 
+#if PHP_VERSION_ID >= 80000
+#define TSRMLS_D	void
+#define TSRMLS_DC
+#define TSRMLS_C
+#define TSRMLS_CC
+#endif
+
 #define VTIFUL_RESOURCE_NAME "xlsx"
 
 extern int le_xls_writer;