Skip to content

Commit cd05610

Browse files
committed
fix build
1 parent e0c69b3 commit cd05610

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/console.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
namespace console {
3838

39+
#if defined(_WIN32)
3940
namespace {
4041
// Use private-use unicode values to represent special keys that are not reported
4142
// as characters (e.g. arrows on Windows). These values should never clash with
@@ -45,6 +46,7 @@ namespace console {
4546
static constexpr char32_t KEY_ARROW_UP = 0xE002;
4647
static constexpr char32_t KEY_ARROW_DOWN = 0xE003;
4748
}
49+
#endif
4850

4951
//
5052
// Console state

0 commit comments

Comments
 (0)