add support of old compilers, which does not define __SIZEOF_POINTER__

This commit is contained in:
Stefan Lankes 2012-06-13 02:03:00 -07:00
parent ecb3fb5af2
commit b3a0fd13a3
8 changed files with 20 additions and 0 deletions

View file

@ -57,6 +57,12 @@ extern "C" {
#define CONFIG_MULTIBOOT
//#define CONFIG_ROCKCREEK
#ifdef CONFIG_ROCKCREEK
#ifndef __SIZEOF_POINTER__
#define __SIZEOF_POINTER__ 4
#endif
#endif
// RCCE specific flags
#define SCC
#define COPPERRIDGE

View file

@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#include <metalsvm/config.h>
/*
* The code has been taken from FreeBSD (sys/libkern/divdi3.c) and is therefore
* BSD-licensed. Unnecessary functions have been removed and all typedefs required

View file

@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#include <metalsvm/config.h>
#if __SIZEOF_POINTER__ == 4
/*

View file

@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#include <metalsvm/config.h>
#if __SIZEOF_POINTER__ == 4
/*

View file

@ -37,6 +37,8 @@
* have been added in quad.h.
*/
#include <metalsvm/config.h>
#if __SIZEOF_POINTER__ == 4
/*

View file

@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#include <metalsvm/config.h>
#if __SIZEOF_POINTER__ == 4
/*

View file

@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#include <metalsvm/config.h>
#if __SIZEOF_POINTER__ == 4
/*

View file

@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
#include <metalsvm/config.h>
#if __SIZEOF_POINTER__ == 4
/*