On 22 August 2016 at 14:53, Józef Kucia <jkucia(a)codeweavers.com> wrote:
> @@ -21,6 +21,8 @@
> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
> */
>
> +#include <stdlib.h>
> +
> #define WINVER 0x0602 /* for CURSOR_SUPPRESSED */
This causes warnings from make crosstest for me:
device.c:26:0: warning: "WINVER" redefined
#define WINVER 0x0602 /* for CURSOR_SUPPRESSED */
^
In file included from /usr/share/mingw-w64/include/crtdefs.h:10:0,
from /usr/share/mingw-w64/include/stdlib.h:9,
from device.c:24:
/usr/share/mingw-w64/include/_mingw.h:225:0: note: this is the
location of the previous definition
#define WINVER 0x0502
^