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

@ -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"