projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding support for different windows compiler
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
9c49e05
..
5ae5525
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-12899,6
+12899,11
@@
DisplayBothClocks()
you have neither ftime nor gettimeofday.
\r
*/
\r
\r
you have neither ftime nor gettimeofday.
\r
*/
\r
\r
+/* VS 2008 requires the #include outside of the function */
\r
+#if !HAVE_GETTIMEOFDAY && HAVE_FTIME
\r
+#include <sys/timeb.h>
\r
+#endif
\r
+
\r
/* Get the current time as a TimeMark */
\r
void
\r
GetTimeMark(tm)
\r
/* Get the current time as a TimeMark */
\r
void
\r
GetTimeMark(tm)
\r