Include inttypes.h if available but stdint.h is not.
Add powerpc success.
This commit is contained in:
parent
76437817ae
commit
12f80ea291
2 changed files with 8 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Reference in a new issue