|
From: | Christian Jullien |
Subject: | Re: [Tinycc-devel] Tinycc-devel Digest, Vol 211, Issue 19 |
Date: | Wed, 23 Dec 2020 07:13:03 +0100 |
Hi, if you just need definitions from handleapi.h Drop only the following handleapi.h file in win32/include/winapi and it should work: handleapi.h: ---cut---cut---cut---cut---cut---cut /** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the tcc compiler. * No warranty is given; refer to the file DISCLAIMER within this package. */ #ifndef _HANDLEAPI_H #define _HANDLEAPI_H #include <windows.h> #define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR)-1) WINBASEAPI BOOL WINAPI CloseHandle(HANDLE); WINBASEAPI BOOL WINAPI DuplicateHandle(HANDLE, HANDLE, HANDLE, LPHANDLE, DWORD, BOOL, DWORD); WINBASEAPI BOOL WINAPI CompareObjectHandles(HANDLE, HANDLE); WINBASEAPI BOOL WINAPI GetHandleInformation(HANDLE, LPDWORD); WINBASEAPI BOOL WINAPI SetHandleInformation(HANDLE, DWORD, DWORD); #endif /* _HANDLEAPI_H */ ---cut---cut---cut---cut---cut---cut Tell us if it works. C. From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange.fr@nongnu.org] On Behalf Of D Q Thanks. I tried copying the headers over. At first, just copying them all from the latest mingw64, but got an error saying tcc does implement VARARGS. Then tried following the chain of dependencies and ran into this: In file included from C:/godot/gdnim/.nimcache/timer_comp/stdlib_io.nim.c:10: I'm not sure what to make of this in corecrt.h:
So I guess size_t is undefined?
|
[Prev in Thread] | Current Thread | [Next in Thread] |