diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2016-11-10 11:20:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-10 11:20:50 -0800 |
commit | df8390790aae6025e95687a37eea81a4757966d0 (patch) | |
tree | c2659eb553f560bed02b984050462cba961aaf46 /php/ext/google/protobuf/protobuf.h | |
parent | 9f75c5aa851cd877fb0d93ccc31b8567a6706546 (diff) | |
download | protobuf-df8390790aae6025e95687a37eea81a4757966d0.tar.gz protobuf-df8390790aae6025e95687a37eea81a4757966d0.tar.bz2 protobuf-df8390790aae6025e95687a37eea81a4757966d0.zip |
Fix php c extension on 32-bit machines. (#2348)
Diffstat (limited to 'php/ext/google/protobuf/protobuf.h')
-rw-r--r-- | php/ext/google/protobuf/protobuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 // ---------------------------------------------------------------------------- |