From 63bd8b00e44befd5b606addcc93b24b5351ab42b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 23 Mar 2010 11:58:36 +0000 Subject: [PATCH] OpenSolaris knows (u)int64_t nowadays. Also the standard int64_t type is typedefed as "long int" with OpenSolaris 64bit gcc making it incompatible with a "long long int" typedefed int64. git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@48 a6f86f6d-0131-4f8e-9e7b-e335508773d5 --- ebml/c/libebml_t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebml/c/libebml_t.h b/ebml/c/libebml_t.h index ce584ac..fa25f0a 100644 --- a/ebml/c/libebml_t.h +++ b/ebml/c/libebml_t.h @@ -89,12 +89,12 @@ extern "C" { # ifdef _NO_LONGLONG # error This compiler does not support 64bit integers. # endif - typedef long long int64; // int64_t is not always defined :( + typedef int64_t int64; typedef int32_t int32; typedef int16_t int16; typedef int8_t int8; typedef int8_t character; - typedef unsigned long long uint64; // uint64_t is not always defined :( + typedef uint64_t uint64; typedef uint32_t uint32; typedef uint16_t uint16; typedef uint8_t uint8;