chobie / php-sundown

php-sundown is just simple wrapper of sundown
Other
137 stars 16 forks source link

Fix build in php-src #24

Closed reeze closed 12 years ago

reeze commented 12 years ago

There should no ';' after the macro, this will break build in php-src

main/internal_functions_cli.c:80:2: error: expected '}' phpext_sundown_ptr, ^ /Users/reeze/Opensource/php-test/php-src-5.3-dev/ext/sundown/php_sundown.h:27:49: note: expanded from macro 'phpext_sundown_ptr'

define phpext_sundown_ptr &sundown_module_entry;

                                            ^

main/internal_functions_cli.c:58:54: note: to match this '{' static zend_module_entry *php_builtin_extensions[] = {