view include/system.h @ 7:d24d69066fc0

added C++ build support
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 13 Mar 2011 21:10:35 -0400
parents 5d9f272f4db6
children 0451ffa1c3a0
line wrap: on
line source

#ifndef __SYSTEM_H
#define __SYSTEM_H

#define NULL	((void*) 0)

typedef unsigned long long u64;
typedef signed long long s64;

typedef unsigned int u32;
typedef signed int s32;

typedef unsigned short u16;
typedef signed short s16;

typedef unsigned char u8;
typedef signed char s8;

#ifdef __cplusplus
extern "C" {
#endif
	extern int putline(char *buf, int len);
	extern int getline(char *buf, int len);

#ifdef __cplusplus
}
#endif

#endif