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).
_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to