This commit is contained in:
Pranav Srinivas Kumar
2020-09-15 08:54:21 -05:00
parent 41650d005a
commit 3d48e2bd25
2 changed files with 9 additions and 1 deletions

View File

@@ -34,6 +34,10 @@
#if defined(TERMCOLOR_OS_MACOS) || defined(TERMCOLOR_OS_LINUX)
# include <unistd.h>
#elif defined(TERMCOLOR_OS_WINDOWS)
#if defined(_MSC_VER)
#if !defined(NOMINMAX)
#define NOMINMAX
#endif
# include <io.h>
# include <windows.h>
#endif