aboutsummaryrefslogtreecommitdiff
path: root/win32/include/_mingw.h
Commit message (Collapse)AuthorAgeFilesLines
* final adjustments for releasegrischka2017-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | - configure/Makefiles: minor adjustments - build-tcc.bat: add -static to gcc options (avoids libgcc_s*.dll dependency with some mingw versions) - tccpe.c/tcctools.c: eliminate MAX_PATH (not available for cross compilers) - tccasm.c: use uint64_t/strtoull in unary() (unsigned long sometimes is only uint32_t, as always on windows) - tccgen.c: Revert (f077d16c) "tccgen: gen_cast: cast FLOAT to DOUBLE" Was a rather experimental, tentative commit, not really necessary and somewhat ugly too. - cleanup recent osx support: - Makefile/libtcc.c: cleanup copy&paste code - tccpp.c: restore deleted function
* makefile: unify cross with native buildsgrischka2017-02-251-0/+4
| | | | | | | | | | | | | supports building cross compilers on the fly without need for configure --enable-cross $ make cross # all compilers $ make cross-TARGET # only TARGET-compiler & its libtcc1.a with TARGET one from i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67 Type 'make help' for more information
* tcc: re-enable correct option -r supportgrischka2017-02-201-0/+12
| | | | | | | | | | | | | | | Forgot about it. It allows to compile several sources (and other .o's) to one single .o file; tcc -r -o all.o f1.c f2.c f3.S o4.o ... Also: - option -fold-struct-init-code removed, no effect anymore - (tcc_)set_environment() moved to tcc.c - win32/lib/(win)crt1 minor fix & add dependency - debug line output for asm (tcc -c -g xxx.S) enabled - configure/Makefiles: x86-64 -> x86_64 changes - README: cleanup
* tccpp_new/delete and other cleanupsgrischka2016-10-171-16/+22
|
* win32: _mingw.h: add definition for _TRUNCATE from newer _mingw.hAvi Halachmi (:avih)2016-06-191-0/+4
|
* tccgen: scopes levels for local symbols (update 1)grischka2016-05-051-4/+7
| | | | | | | Catch top level redeclarations too. Also fix mistakes in tcctest.c and the tcc sources (win32) showing up now.
* win32: Add missing header files for nginx compilationseyko2016-04-131-0/+4
| | | | | | | | | From: Vlad Vissoultchev Date: Tue, 12 Apr 2016 21:02:43 +0300 Subject: win32: Add missing header files for nginx compilation The new ones are hoisted from mingw-w64 as most other headers under `win32/include/winapi`
* Move WIN32_LEAN_AND_MEAN to windows.h (silence redeclarations)Vlad Vissoultchev2016-03-131-3/+0
|
* tcc -vv/--print-search-dirs: print more infogrischka2013-02-101-1/+2
| | | | | | | | | | | | | | tests/Makefile: - print-search-dirs when 'hello' fails - split off hello-run win32/include/_mingw.h: - fix for compatibility with mingw headers (While our headers in win32 are from mingw-64 and don't have the problem) tiny_libmaker: - don't use "dangerous" mktemp
* win32: _mingw.h: do not undef NULLgrischka2013-01-241-1/+0
| | | | | | | | | Not wise if stddef.h was already included. This is related to commit 3aa26a794e24a298493a2bc9d70fbd9aebf6437a Instead hack stddef.h to have identical definition and thus avoid the issue mentionned there.
* win32/include: enable _timezone etc variables.grischka2011-07-111-3/+4
| | | | | | | | | which live in msvcrt.dll and need __declspec(import) which works by now. Also: - _mingw.h: conditionally define WIN32_LEAN_AND_MEAN - malloc.h: don't undef alloca
* win32: register SEH in startup code (i386 only)grischka2010-10-191-0/+2
| | | | Needed to handle signal() etc. with msvcrt
* win32: adjust for mingw32 winapi packagesgrischka2010-01-261-0/+11
| | | | | | Note: the files in tcc/win32/include/winapi are now from the mingw-w64 project, however with this fix using mingw32 winapi should still work.
* win64: defined size_t and ptrdiff_t to unsigned long longgrischka2010-01-141-18/+17
|
* win32: cleanup includegrischka2010-01-141-47/+46
|
* win32: add size_t to _mingw.hgrischka2009-12-201-0/+9
|
* win64: add tiny unwind data for setjmp/longjmpgrischka2009-12-201-1/+1
| | | | | | | | | This enables native unwind semantics with longjmp on win64 by putting an entry into the .pdata section for each compiled fuction. Also, the function now use a fixed stack and store arguments into X(%rsp) rather than using push.
* win64: adjust for two args with setjmp(buf,ctx)grischka2009-12-191-0/+2
|
* win64: use new headers from mingwgrischka2009-07-181-11/+73
|
* Checkin tiny_libmaker (ar replacement) by Timovj Lahdegrischka2008-03-081-10/+10
|
* Import more changesets from Rob Landley's fork (part 2)grischka2007-11-211-0/+2
|
* added DECLARE_STDCALL_P (grischka)bellard2005-04-171-51/+52
|
* win32 mergebellard2005-04-141-0/+51