Skip to content

Commit 0be0b3f

Browse files
committed
Hopefully fixes redefinition warnings in 8Beat vcxproj files.
1 parent e024666 commit 0be0b3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/Termin8or/input/Keyboard.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#pragma once
22
#include "KeyboardEnums.h"
33
#ifdef _WIN32
4+
#ifndef NOMINMAX
45
#define NOMINMAX // Should fix the std::min()/max() and std::numeric_limits<T>::min()/max() compilation problems
6+
#endif
57
#include <windows.h>
68
#include <conio.h>
7-
#else
9+
#else // POSIX
810
#include <termios.h>
911
#include <unistd.h>
10-
#endif
12+
#endif // COMMON
1113
#include <optional>
1214
#include <variant>
1315
#include <iostream>

0 commit comments

Comments
 (0)