bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] We distribute wrongly compiled WinBoard binaries


From: h.g. muller
Subject: Re: [Bug-XBoard] We distribute wrongly compiled WinBoard binaries
Date: Wed, 03 Feb 2010 09:21:06 +0100


That can be done.  But if you do that, then in makefile.ms, you must always -DUSE_I64.

That case would already be covered because the _MSC_VER switch is set there, not?
because then you would also need other basic type names and constant suffixes for
the long data types. So I was thinking about a structure like

#ifdef _WIN32
  #ifdef _MSC_VER
    //define MSCtypes
    #define u64Display "%I64u"
  #else
    //define standard C types
    #ifdef USE_I64
      #define u64Display "%I64u"
    #else
      #define u64Display "%llu"
    #endif
#else
    //define standard C types
    #define u64Display "%llu"
#endif

(where only the innermost #ifdef is new).
reply via email to

[Prev in Thread] Current Thread [Next in Thread]