aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/ext/google/protobuf/protobuf.h
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2016-11-10 11:20:50 -0800
committerGravatar GitHub <noreply@github.com>2016-11-10 11:20:50 -0800
commitdf8390790aae6025e95687a37eea81a4757966d0 (patch)
treec2659eb553f560bed02b984050462cba961aaf46 /php/ext/google/protobuf/protobuf.h
parent9f75c5aa851cd877fb0d93ccc31b8567a6706546 (diff)
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.h3
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
// ----------------------------------------------------------------------------