Move platform #if to top of the file

This commit is contained in:
fvanroie 2021-03-05 19:38:33 +01:00
parent 62d26eb189
commit 549728d30b

View File

@ -1,6 +1,8 @@
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie /* MIT License - Copyright (c) 2019-2021 Francis Van Roie
For full license information read the LICENSE file in the project folder */ For full license information read the LICENSE file in the project folder */
#if defined(WINDOWS) || defined(POSIX)
#if defined(WINDOWS) #if defined(WINDOWS)
#include <windows.h> #include <windows.h>
#endif #endif
@ -167,7 +169,6 @@ void loop()
// delay(6); // delay(6);
} }
#if defined(WINDOWS) || defined(POSIX)
void usage(char* progName) void usage(char* progName)
{ {