| Summary: | testpalette error compiling with Open Watcom | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Daniele Forghieri <ow_sdl> |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | trivial | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
| Attachments: | Move SDL.H before the definition of PI | ||
This is fixed in subversion with revision 5424. Thanks! |
Created attachment 413 [details] Move SDL.H before the definition of PI In testpalette.c M_PI is defined before SDL.H in included. With Open Watcom the redefinition of M_PI gives an error because the definition is different. This patch simply move the include before the definiton of M_PI: if is already defined is not re-defined and there is non error.