Skip to content

Commit

Permalink
Make alias from ZEND_EXTENSION_API_NO to ZEND_EXTENSION_API_NO_7_1_X
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Sep 24, 2015
1 parent 48aa030 commit c3ad65e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Zend/zend_extensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
#include "zend_compile.h"
#include "zend_build.h"

/* The first number is the engine version and the rest is the date (YYYYMMDD).
* This way engine 2/3 API no. is always greater than engine 1 API no..
*/
#define ZEND_EXTENSION_API_NO 320140815


/*
Expand All @@ -49,6 +45,11 @@ You can use the following macro to check the extension API version for compatibi
#define ZEND_EXTENSION_API_NO_5_6_X 220131226
#define ZEND_EXTENSION_API_NO_7_1_X 320140815

/* The first number is the engine version and the rest is the date (YYYYMMDD).
* This way engine 2/3 API no. is always greater than engine 1 API no..
*/
#define ZEND_EXTENSION_API_NO ZEND_EXTENSION_API_NO_7_1_X

typedef struct _zend_extension_version_info {
int zend_extension_api_no;
char *build_id;
Expand Down

0 comments on commit c3ad65e

Please sign in to comment.