Skip to content

Commit

Permalink
up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Mar 26, 2020
1 parent 2af88ab commit d8a3ea9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
}
},
"bin": [
"bin/easy_compiler"
"bin/easy-compiler"
]
}
4 changes: 2 additions & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ fi

PHP_ARG_ENABLE(easy_compiler, enable the easy_compiler extension,NULL)


PHP_NEW_EXTENSION(easy_compiler, src/compiler.c src/pkcs7.c src/aes.c src/Zend/$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION/zend_language_scanner.c, $ext_shared)
//src/Zend/$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION/zend_language_scanner.c
PHP_NEW_EXTENSION(easy_compiler, src/compiler.c src/pkcs7.c src/aes.c , $ext_shared)
16 changes: 0 additions & 16 deletions src/compiler.c
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
#include <php.h>
#if (PHP_MINOR_VERSION == 3)
#include "Zend/7.3/zend_language_scanner.h"
#endif

#if (PHP_MINOR_VERSION == 2)
#include "Zend/7.2/zend_language_scanner.h"
#endif

#if (PHP_MINOR_VERSION == 1)
#include "Zend/7.1/zend_language_scanner.h"
#endif

#if (PHP_MINOR_VERSION == 4)
#include "Zend/7.4/zend_language_scanner.h"
#endif

#include <zend_string.h>
#include <zend_exceptions.h>
#include <zend_types.h>
Expand Down

0 comments on commit d8a3ea9

Please sign in to comment.