Skip to content

Commit 94644d3

Browse files
committed
fix
1 parent f8b0c2c commit 94644d3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/SPC/builder/extension/memcache.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,6 @@ public function patchBeforeSharedConfigure(): bool
6262
'export CPPFLAGS="$CPPFLAGS $INCLUDES -I$abs_srcdir/main"',
6363
'export CPPFLAGS="$CPPFLAGS $INCLUDES"',
6464
);
65-
// add for in-tree building
66-
FileSystem::replaceFileStr(
67-
SOURCE_PATH . '/php-src/ext/memcache/php_memcache.h',
68-
<<<'EOF'
69-
#ifndef PHP_MEMCACHE_H
70-
#define PHP_MEMCACHE_H
71-
72-
extern zend_module_entry memcache_module_entry;
73-
#define phpext_memcache_ptr &memcache_module_entry
74-
75-
#endif
76-
EOF,
77-
''
78-
);
7965
return true;
8066
}
8167

0 commit comments

Comments
 (0)