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
|
|
@ -76,6 +76,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Linux-x86 with GCC 3.x and 4.x</li>
|
<li>Linux-x86 with GCC 3.x and 4.x</li>
|
||||||
<li>Linux-x86_64 with GCC 3.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>CygWin (Windows XP) with GCC 3.3.1 (cygming special).
|
||||||
<li>Win95/NT with VC++ 5.0 and Borland Builder. Makefiles and
|
<li>Win95/NT with VC++ 5.0 and Borland Builder. Makefiles and
|
||||||
projects files are provided.</li>
|
projects files are provided.</li>
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,14 @@
|
||||||
#ifndef EO_RANDOM_NUMBER_GENERATOR
|
#ifndef EO_RANDOM_NUMBER_GENERATOR
|
||||||
#define EO_RANDOM_NUMBER_GENERATOR
|
#define EO_RANDOM_NUMBER_GENERATOR
|
||||||
|
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
#include <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 <vector>
|
||||||
#include "eoPersistent.h"
|
#include "eoPersistent.h"
|
||||||
#include "eoObject.h"
|
#include "eoObject.h"
|
||||||
|
|
|
||||||
Reference in a new issue