diff options
| author | grischka <grischka> | 2013-09-10 15:36:56 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2013-09-10 15:36:56 +0200 |
| commit | 13b997668e32a4b451783fd80525cf221149c5b3 (patch) | |
| tree | dd00f33b50483aad1cfa2c1ffdae3aab89e2572a /libtcc.h | |
| parent | 235a65033f287a6207079875bf7f8bffb458daa1 (diff) | |
| download | tinycc-13b997668e32a4b451783fd80525cf221149c5b3.tar.gz tinycc-13b997668e32a4b451783fd80525cf221149c5b3.tar.bz2 | |
win32: fix libtcc support
For "tcc -run file.c", I was trying to initialize the FP control
in a function in libtcc1.a (_runmain) before calling main.
Unfortunately that turned out to cause problems with for example
libtcc_test since such usage doesn't necessarily define a 'main'
function.
So for tcc -run we're back to relying on the FP control word
that is set in the startup code of tcc.exe rsp. libtcc.dll.
This fixes part of commit 73faaea227a53e365dd75f1dba7a5071c7b5e541
Diffstat (limited to 'libtcc.h')
0 files changed, 0 insertions, 0 deletions
