blob: bcf0585200c2be815ff2f45b6a8072c378555f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -ur dvipng-1.12.orig/dvi.c dvipng-1.12/dvi.c
--- dvipng-1.12.orig/dvi.c 2009-10-01 00:45:04.000000000 +0200
+++ dvipng-1.12/dvi.c 2010-02-21 18:13:07.221302550 +0100
@@ -30,9 +30,14 @@
# ifdef HAVE_LIBGEN_H
# include <libgen.h>
# else
-# define basename xbasename
-#endif
-# define SLEEP sleep(1)
+# define basename xbasename
+# endif
+# ifdef WIN32
+# define SLEEP Sleep(1000)
+# include <stdlib.h>
+# else
+# define SLEEP sleep(1)
+# endif /* WIN32 */
#endif /* MIKTEX */
#include <sys/stat.h>
|