Fix ref to undefined uint32_t on windows and rebuild bootstrap.

This commit is contained in:
David Brown 2016-08-22 20:08:36 +01:00
parent d73e80cd09
commit 3c36cbd111
8 changed files with 13 additions and 3 deletions

View file

@ -110,7 +110,7 @@ export BOOLEAN Platform_getEnv (CHAR *var, LONGINT var__len, CHAR *val, LONGINT
#define Platform_ERRORWRITEPROTECT() ERROR_WRITE_PROTECT
#define Platform_ETIMEDOUT() WSAETIMEDOUT
extern void Heap_InitHeap();
#define Platform_GetTickCount() (LONGINT)(uint32_t)GetTickCount()
#define Platform_GetTickCount() (LONGINT)(SYSTEM_CARD32)GetTickCount()
#define Platform_HeapInitHeap() Heap_InitHeap()
#define Platform_SetInterruptHandler(h) SystemSetInterruptHandler((uintptr_t)h)
#define Platform_SetQuitHandler(h) SystemSetQuitHandler((uintptr_t)h)

View file

@ -32,6 +32,8 @@ typedef unsigned char SYSTEM_CARD8;
typedef unsigned int size_t;
#endif
#define _SIZE_T_DEFINED_ // For OpenBSD
void *memcpy(void *dest, const void *source, size_t size);