Remove HAVE_W32API_H definition and checks
All still supported versions of MinGW/Cygwin provide w32api.h file, so there is no need to test for it. This allows to simplify the code, but also remove the definition of HAVE_W32API_H from bake- and makefiles and this, in turn, allows to get rid of extra flags in MinGW format entirely, as we don't support gcc 2.95 for which they were originally needed neither.
This commit is contained in:
parent
6fbacb20d8
commit
426a0ed527
128 changed files with 901 additions and 1302 deletions
|
|
@ -509,15 +509,6 @@ it if SHARED=1 unless you know what you are doing.
|
|||
</if>
|
||||
|
||||
<if cond="FORMAT=='mingw'">
|
||||
<option name="GCC_VERSION">
|
||||
<values>3,2.95</values>
|
||||
<default-value>3</default-value>
|
||||
<description>
|
||||
Set the version of your Mingw installation here.
|
||||
"3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
|
||||
"2.95" ... for Mingw 1.1 or any of the older versions
|
||||
</description>
|
||||
</option>
|
||||
<option name="WINDRES">
|
||||
<default-value>windres</default-value>
|
||||
<description>
|
||||
|
|
@ -525,10 +516,6 @@ Windows resource compiler to use, possibly including extra options.
|
|||
For example, add "-F pe-i386" here if using 64 bit windres for 32 bit build.
|
||||
</description>
|
||||
</option>
|
||||
<set var="GCCFLAGS">
|
||||
<if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
|
||||
</set>
|
||||
<set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
|
||||
</if>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue