X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=util.h;h=1ce7e3271e98eb6a254eb13a9ffec7210cce98f6;hb=5cd5185613348b13625e257efcd7b2f11ca85276;hp=9449f121d19c5047e041923df9fba10941125999;hpb=64f72f31685ea1dff12b19b22cfaf7a53ccc079f;p=polyglot.git diff --git a/util.h b/util.h index 9449f12..1ce7e32 100644 --- a/util.h +++ b/util.h @@ -48,6 +48,10 @@ # define ASSERT(a) #endif +#ifdef _WIN32 +#define snprintf _snprintf +#endif + // types typedef signed char sint8; @@ -126,6 +130,7 @@ extern void my_timer_stop (my_timer_t * timer); extern double my_timer_elapsed_real (const my_timer_t * timer); +extern char * my_error(); #endif // !defined UTIL_H