wined3d: include port.h to fix build on platform ARM
Stefan Leichter
Stefan.Leichter at camline.com
Thu Oct 3 12:59:16 CDT 2013
compile error without the include:
gcc -c -I../../../wine-git-local/dlls/wined3d -I. -I../../../wine-git-
local/include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -
fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-
qualifiers -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -
Wlogical-op -gdwarf-2 -g -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -marm
-o cs.o ../../../wine-git-local/dlls/wined3d/cs.c
In file included from ../../../wine-git-local/dlls/wined3d/cs.c:20:
../../../wine-git-local/dlls/wined3d/wined3d_private.h: In function
'float_16_to_32':
../../../wine-git-local/dlls/wined3d/wined3d_private.h:214: error: 'INFINITY'
undeclared (first use in this function)
../../../wine-git-local/dlls/wined3d/wined3d_private.h:214: error: (Each
undeclared identifier is reported only once
../../../wine-git-local/dlls/wined3d/wined3d_private.h:214: error: for each
function it appears in.)
../../../wine-git-local/dlls/wined3d/wined3d_private.h:215: error: 'NAN'
undeclared (first use in this function)
../../../wine-git-local/dlls/wined3d/wined3d_private.h:217: warning: control
reaches end of non-void function
../../../wine-git-local/dlls/wined3d/wined3d_private.h: In function
'float_24_to_32':
../../../wine-git-local/dlls/wined3d/wined3d_private.h:236: error: 'INFINITY'
undeclared (first use in this function)
../../../wine-git-local/dlls/wined3d/wined3d_private.h:237: error: 'NAN'
undeclared (first use in this function)
../../../wine-git-local/dlls/wined3d/wined3d_private.h:239: warning: control
reaches end of non-void function
make[1]: *** [cs.o] Error 1
---
dlls/wined3d/cs.c | 1 +
1 file changed, 1 insertion(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-include-port.h-to-fix-build-on-platform-ARM.txt
Type: text/x-patch
Size: 265 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131003/927f8b3f/attachment.bin>
More information about the wine-patches
mailing list