|
From: | Eric Mullins |
Subject: | Re: [Bug-XBoard] We distribute wrongly compiled WinBoard binaries |
Date: | Tue, 02 Feb 2010 15:42:58 -0700 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
h.g. muller wrote:
In relation to Eric's explanation: Would it not be a solution to make the definition dependent on USE_MINGW,which we define in the makefile.gcc anyway, and which also switches the useof the -mno-cygwin option on? E.g. put something in the makefile like # set up for cygwin or not ifeq ($(USE_MINGW),1) CFCYG = -mno-cygwin -DUSE_I64 LFCYG = -mno-cygwin -lmsvcrt endifso that we could use an #ifdef USE_I64 to choose between "%llu" and "%I64u"in backend.h?
That can be done. But if you do that, then in makefile.ms, you must always -DUSE_I64.
[Prev in Thread] | Current Thread | [Next in Thread] |