Skip to content

Commit 2fa7bb0

Browse files
committed
fixed windows error by un-defining the ERROR macro created by windows.h globally
1 parent 89ccd0e commit 2fa7bb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp-terminal/prompt.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#include <cpp-terminal/window.hpp>
44
#include <functional>
55

6+
// TODO: remove windows.h include and this undefine
7+
#undef ERROR
8+
69
namespace Term {
710
/* Basic prompt */
811

0 commit comments

Comments
 (0)