X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=shogi.h;h=cbbe00ee1c303791128bb3ff7a610314d1f01bbe;hb=337ac0a0658376f8a9b2aa740acde95f021e53ec;hp=395126f0be9f31026810e4fd1cf680021ed2d948;hpb=3f0517778128278a9e50ebde3ac8b237da1b62ef;p=bonanza.git diff --git a/shogi.h b/shogi.h index 395126f..cbbe00e 100644 --- a/shogi.h +++ b/shogi.h @@ -8,9 +8,15 @@ #if defined(_WIN32) # include -# define CONV __fastcall +# ifdef _MSC_VER +# define CONV __fastcall +# else +# define CONV +# endif # define SCKT_NULL INVALID_SOCKET +# define WIN32_PIPE typedef SOCKET sckt_t; +char *strtok_r( char *s, const char *t, char **next); #else @@ -956,6 +962,7 @@ extern const int aikkp_hand[8]; extern const char ach_turn[2]; extern const unsigned char aifile[ nsquare ]; extern const unsigned char airank[ nsquare ]; +extern int root_pos[]; // [HGM] remembers root position during pondering extern int move_list[], move_ptr; // [HGM] undo: game history (used in proce.c and makemove.c) extern char analyze_mode; // [HGM] exclude: used in proce.c and root.c @@ -1273,7 +1280,7 @@ extern char client_str_pwd[256]; extern sckt_t sckt_csa; #endif -#if defined(MNJ_LAN) || defined(USI) +#if defined(MNJ_LAN) || defined(USI) || defined(XBOARD) extern unsigned int moves_ignore[MAX_LEGAL_MOVES]; #endif