aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 732d67a..ac5c7e0 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -22,7 +22,7 @@ along with this program. If not, see https://www.gnu.org/licenses/
#include "time.h"
#include "test.h"
-#ifdef WIN32
+#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
#define CLEAR std::system("cls")
#else
#define CLEAR std::cout << "\033[2J\033[1;1H"