php: 0.5.1

Merge pull request #81
Fixed include path for version check. (Contributed by duedal)
This commit is contained in:
advect 2011-08-20 16:36:06 +09:00
parent d36666bd98
commit c24948258b
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
msgpack extension changelog msgpack extension changelog
Version 0.5.1
-------------
* Fixed include path for version check.
(Contributed by duedal)
Version 0.5.0 Version 0.5.0
------------- -------------
* Fix ZEND_DECLARE_MODULE_GLOBALS: * Fix ZEND_DECLARE_MODULE_GLOBALS:

View File

@ -7,7 +7,7 @@ dnl without editing.
dnl Check PHP version: dnl Check PHP version:
AC_MSG_CHECKING(PHP version) AC_MSG_CHECKING(PHP version)
AC_TRY_COMPILE([#include "php/main/php_version.h"], [ AC_TRY_COMPILE([#include "$phpincludedir/main/php_version.h"], [
#if PHP_MAJOR_VERSION < 5 #if PHP_MAJOR_VERSION < 5
#error this extension requires at least PHP version 5 or newer #error this extension requires at least PHP version 5 or newer
#endif #endif

View File

@ -2,7 +2,7 @@
#ifndef PHP_MSGPACK_H #ifndef PHP_MSGPACK_H
#define PHP_MSGPACK_H #define PHP_MSGPACK_H
#define MSGPACK_EXTENSION_VERSION "0.5.0" #define MSGPACK_EXTENSION_VERSION "0.5.1"
#include "ext/standard/php_smart_str.h" #include "ext/standard/php_smart_str.h"