-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for PHP 8 (Thanks to Tankonyako) and config.w32 for Win…
…dows platform.
- Loading branch information
Showing
23 changed files
with
2,235 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ARG_ENABLE("protobuf", "whether to enable protobuf support", "no"); | ||
|
||
if (PHP_PROTOBUF != "no") { | ||
EXTENSION("protobuf", "protobuf.c reader.c writer.c"); | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
dnl $Id$ | ||
dnl config.m4 for extension protobuf | ||
|
||
PHP_ARG_ENABLE(protobuf, whether to enable protobuf support, | ||
[ --enable-protobuf enable protobuf support]) | ||
|
||
if test "$PHP_PROTOBUF" != "no"; then | ||
PHP_NEW_EXTENSION(protobuf, protobuf.c reader.c writer.c, $ext_shared) | ||
fi | ||
|
||
PHP_C_BIGENDIAN() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ARG_ENABLE("protobuf", "whether to enable protobuf support", "no"); | ||
|
||
if (PHP_PROTOBUF != "no") { | ||
EXTENSION("protobuf", "protobuf.c reader.c writer.c"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef PROTOBUF_PHP_PHP_PROTOBUF_H | ||
#define PROTOBUF_PHP_PHP_PROTOBUF_H | ||
|
||
#ifdef HAVE_CONFIG_H | ||
#include "config.h" | ||
#endif | ||
|
||
#define PHP_PROTOBUF_VERSION "0.12.3" | ||
#define PHP_PROTOBUF_EXTNAME "protobuf" | ||
|
||
extern zend_module_entry protobuf_module_entry; | ||
|
||
#endif /* PROTOBUF_PHP_PHP_PROTOBUF_H */ |
Oops, something went wrong.