Fixes for Mingw

This commit is contained in:
Shane Blackett 2008-09-10 08:22:45 -06:00 committed by Brian Paul
parent 35fd72756a
commit bc3b2a5d7a
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ DRIVER_SOURCES = \
endif
endif
SOURCES = $(CORE_SOURCES) $(X86_SOURCES) $(COMMON_DRIVER_SOURCES) $(DRIVER_SOURCES)
SOURCES = $(MESA_SOURCES) $(GLAPI_SOURCES) $(X86_SOURCES) $(DRIVER_SOURCES)
OBJECTS = $(addsuffix .o,$(basename $(SOURCES)))

View File

@ -559,7 +559,7 @@ _mesa_pow(double x, double y)
int
_mesa_ffs(int i)
{
#if (defined(_WIN32) && !defined(__MINGW32__) ) || defined(__IBMC__) || defined(__IBMCPP__)
#if (defined(_WIN32) ) || defined(__IBMC__) || defined(__IBMCPP__)
register int bit = 0;
if (i != 0) {
if ((i & 0xffff) == 0) {