21 lines
327 B
Diff
21 lines
327 B
Diff
--- a/teensy_loader_cli.c
|
|
+++ b/teensy_loader_cli.c
|
|
@@ -1031,7 +1031,7 @@
|
|
|
|
void delay(double seconds)
|
|
{
|
|
- #ifdef WIN32
|
|
+ #ifdef USE_WIN32
|
|
Sleep(seconds * 1000.0);
|
|
#else
|
|
usleep(seconds * 1000000.0);
|
|
@@ -1048,7 +1048,7 @@
|
|
exit(1);
|
|
}
|
|
|
|
-#if defined(WIN32)
|
|
+#if defined(USE_WIN32)
|
|
#define strcasecmp stricmp
|
|
#endif
|
|
|