Include inttypes.h if available but stdint.h is not.

Add powerpc success.
This commit is contained in:
kuepper 2005-10-01 14:00:42 +00:00
commit 12f80ea291
2 changed files with 8 additions and 0 deletions

View file

@ -76,6 +76,7 @@
<ul>
<li>Linux-x86 with GCC 3.x and 4.x</li>
<li>Linux-x86_64 with GCC 3.x</li>
<li>Darwin-powerpc (Macintosh) with GCC 3.3</li>
<li>CygWin (Windows XP) with GCC 3.3.1 (cygming special).
<li>Win95/NT with VC++ 5.0 and Borland Builder. Makefiles and
projects files are provided.</li>

View file

@ -31,7 +31,14 @@
#ifndef EO_RANDOM_NUMBER_GENERATOR
#define EO_RANDOM_NUMBER_GENERATOR
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#else
#error Nedd header to define uint32_t. Please contact the EO mailing list.
#endif
#include <vector>
#include "eoPersistent.h"
#include "eoObject.h"