fix sun studio build

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@327 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2007-11-13 20:06:07 +00:00
parent 9aa7a3f9fd
commit df25daeaae
1 changed files with 8 additions and 0 deletions

View File

@ -79,10 +79,18 @@ extern "C" {
#include <stdio.h>
#include <stdlib.h>
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
#ifndef __inline__
#define __inline__ inline
#endif
#endif
#ifdef _MSC_VER
#ifndef __inline__
#define __inline__ __inline
#endif
typedef unsigned __int64 uint64_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int16 uint16_t;