Skip to content

Commit

Permalink
fix typo for support MIN MAX on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
guuzaa committed Mar 11, 2024
1 parent 5dc2b57 commit 70645ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/numbers/integer.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "integer.hh"

#if defined(__MSC_VER)
#if defined(_MSC_VER)
namespace numbers {
template <>
i8 i8::MAX = i8(max_);
Expand Down
2 changes: 1 addition & 1 deletion src/numbers/uinteger.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "uinteger.hh"

#if defined(__MSC_VER)
#if defined(_MSC_VER)
namespace numbers {
template <>
u8 u8::MAX = u8(max_);
Expand Down

0 comments on commit 70645ba

Please sign in to comment.