Changed 'make clean' to use del /f instead of rm -f.
[xboard.git] / backend.h
index 6bd8441..244838d 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -176,6 +176,31 @@ extern GameInfo gameInfo;
 #define ICS_CHESSNET 3 /* not really supported */
 int ics_type;
 
+/* unsigned int 64 for engine nodes work and display */
+#ifdef WIN32
+       /* I don't know the name for this type of other compiler
+        * If it not work, just modify here
+        * This is for MS Visual Studio
+        */
+       #ifdef _MSC_VER
+               #define u64     unsigned __int64
+               #define s64 signed __int64
+               #define u64Display  "%I64u"
+       #else
+               /* place holder
+                * or dummy types for other compiler
+                */
+               #define u64     unsigned __int64
+               #define s64 signed __int64
+               #define u64Display  "%I64u"
+       #endif
+#else
+       /* GNU gcc */
+       #define u64     unsigned long long
+       #define s64 signed long long
+       #define u64Display  "%llu"
+#endif
+
 
 /* pgntags.c prototypes
  */