Hi,
'make depend && make' fails for me:
make[2]: Entering directory `/wine/wine-git/dlls/gdiplus/tests' ../../../tools/makedep -C. -S../../.. -T../../.. brush.c graphicspath.c pen.c
math.h: No such file or directory math.h was first included from graphicspath.c:24 make[2]: [Makefile] Error 1 (ignored) ../../../tools/makedep -C. -S../../.. -T../../.. brush.c graphicspath.c pen.c
math.h: No such file or directory math.h was first included from graphicspath.c:24 make[2]: *** [depend] Error 1 make[2]: Leaving directory `/wine/wine-git/dlls/gdiplus/tests' make[1]: *** [gdiplus/tests/__depend__] Error 2 make[1]: Leaving directory `/wine/wine-git/dlls' make: *** [dlls/__depend__] Error 2
Following patch fixes the compile for me, but I'm not sure it's correct:
diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c index f7cfedb..d71aab8 100644 --- a/dlls/gdiplus/tests/graphicspath.c +++ b/dlls/gdiplus/tests/graphicspath.c @@ -21,7 +21,7 @@ #include "windows.h" #include "gdiplus.h" #include "wine/test.h" -#include "math.h" +#include "msvcrt/math.h"
#define expect(expected, got) ok(got == expected, "Expected %.8x, got %.8x\n", expected, got) #define POINT_TYPE_MAX_LEN (75)
Cheers,
Paul.
This has already been fixed:
http://www.winehq.org/pipermail/wine-cvs/2007-July/034026.html
On 7/10/07, Paul Vriens paul.vriens.wine@gmail.com wrote:
Hi,
'make depend && make' fails for me:
make[2]: Entering directory `/wine/wine-git/dlls/gdiplus/tests' ../../../tools/makedep -C. -S../../.. -T../../.. brush.c graphicspath.c pen.c
math.h: No such file or directory math.h was first included from graphicspath.c:24 make[2]: [Makefile] Error 1 (ignored) ../../../tools/makedep -C. -S../../.. -T../../.. brush.c graphicspath.c pen.c
math.h: No such file or directory math.h was first included from graphicspath.c:24 make[2]: *** [depend] Error 1 make[2]: Leaving directory `/wine/wine-git/dlls/gdiplus/tests' make[1]: *** [gdiplus/tests/__depend__] Error 2 make[1]: Leaving directory `/wine/wine-git/dlls' make: *** [dlls/__depend__] Error 2
Following patch fixes the compile for me, but I'm not sure it's correct:
diff --git a/dlls/gdiplus/tests/graphicspath.c b/dlls/gdiplus/tests/graphicspath.c index f7cfedb..d71aab8 100644 --- a/dlls/gdiplus/tests/graphicspath.c +++ b/dlls/gdiplus/tests/graphicspath.c @@ -21,7 +21,7 @@ #include "windows.h" #include "gdiplus.h" #include "wine/test.h" -#include "math.h" +#include "msvcrt/math.h"
#define expect(expected, got) ok(got == expected, "Expected %.8x, got %.8x\n", expected, got) #define POINT_TYPE_MAX_LEN (75)
Cheers,
Paul.