From df8390790aae6025e95687a37eea81a4757966d0 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Thu, 10 Nov 2016 11:20:50 -0800 Subject: Fix php c extension on 32-bit machines. (#2348) --- php/ext/google/protobuf/protobuf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'php/ext/google/protobuf/protobuf.h') diff --git a/php/ext/google/protobuf/protobuf.h b/php/ext/google/protobuf/protobuf.h index 93027bc1..fb5879dc 100644 --- a/php/ext/google/protobuf/protobuf.h +++ b/php/ext/google/protobuf/protobuf.h @@ -39,6 +39,9 @@ #define PHP_PROTOBUF_EXTNAME "protobuf" #define PHP_PROTOBUF_VERSION "3.1.0a1" +#define MAX_LENGTH_OF_INT64 20 +#define SIZEOF_INT64 8 + // ----------------------------------------------------------------------------- // Forward Declaration // ---------------------------------------------------------------------------- -- cgit v1.2.3