From a2a32c20434807e9966e3f48375f9419134d1b55 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Fri, 14 Nov 2008 17:29:32 +0000 Subject: Support HP C++ on Tru64. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch (mostly) by Vincent Choinière . --- src/google/protobuf/stubs/common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/google/protobuf/stubs/common.h') diff --git a/src/google/protobuf/stubs/common.h b/src/google/protobuf/stubs/common.h index 05c15d1b..858d97fa 100644 --- a/src/google/protobuf/stubs/common.h +++ b/src/google/protobuf/stubs/common.h @@ -40,7 +40,11 @@ #include #include #include -#ifndef _MSC_VER +#if defined(__osf__) +// Tru64 lacks stdint.h, but has inttypes.h which defines a superset of +// what stdint.h would define. +#include +#elif !defined(_MSC_VER) #include #endif -- cgit v1.2.3