You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
21 lines
499 B
Diff
21 lines
499 B
Diff
Original idea: Remi Collet <remi@remirepo.net>
|
|
Subject: [PATCH] Use Zend/zend_smart_string.h
|
|
|
|
https://github.com/sqmk/pecl-jsmin/issues/63
|
|
--- jsmin.h.orig 2025-10-14 16:42:24
|
|
+++ jsmin.h 2025-10-14 16:42:07
|
|
@@ -4,7 +4,13 @@
|
|
#define JSMIN_H
|
|
|
|
#include "php.h"
|
|
+#if PHP_VERSION_ID >= 70200
|
|
+#include "Zend/zend_smart_string.h"
|
|
+#elif PHP_VERSION_ID >= 70000
|
|
#include "ext/standard/php_smart_string.h"
|
|
+#else
|
|
+#include "ext/standard/php_smart_str.h"
|
|
+#endif
|
|
|
|
typedef struct {
|
|
char *javascript;
|