view runtime/plat_types.h @ 139:a68e6828d896

Global stores and transactions are working. Definately leaks memory on retries. Probably a fair number of bugs to work out. However, a basic test program works.
author Mike Pavone <pavone@retrodev.com>
date Fri, 19 Nov 2010 04:04:14 -0500
parents a24eb366195c
children
line wrap: on
line source

#ifndef _PLAT_TYPES_H_
#define _PLAT_TYPES_H_

#ifdef _WIN32

typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef unsigned int uintptr_t;

#else
#include <stdint.h>
#endif

#endif //_PLAT_TYPES_H_