Skip to content

Commit

Permalink
Merge pull request #452 from nauhygon/master
Browse files Browse the repository at this point in the history
#451: Fix min/max macro conflicts on Windows
  • Loading branch information
tmontgomery committed May 8, 2017
2 parents a6b3489 + 98f7470 commit eff6e63
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sbe-tool/src/main/cpp/sbe/sbe.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ namespace sbe {
#define SBE_BOUNDS_CHECK_EXPECT(exp,c) (__builtin_expect(exp,c))
#endif

#define SBE_NULLVALUE_INT8 std::numeric_limits<std::int8_t>::min()
#define SBE_NULLVALUE_INT16 std::numeric_limits<std::int16_t>::min()
#define SBE_NULLVALUE_INT32 std::numeric_limits<std::int32_t>::min()
#define SBE_NULLVALUE_INT64 std::numeric_limits<std::int64_t>::min()
#define SBE_NULLVALUE_UINT8 std::numeric_limits<std::uint8_t>::max()
#define SBE_NULLVALUE_UINT16 std::numeric_limits<std::uint16_t>::max()
#define SBE_NULLVALUE_UINT32 std::numeric_limits<std::uint32_t>::max()
#define SBE_NULLVALUE_UINT64 std::numeric_limits<std::uint64_t>::max()
#define SBE_NULLVALUE_INT8 (std::numeric_limits<std::int8_t>::min)()
#define SBE_NULLVALUE_INT16 (std::numeric_limits<std::int16_t>::min)()
#define SBE_NULLVALUE_INT32 (std::numeric_limits<std::int32_t>::min)()
#define SBE_NULLVALUE_INT64 (std::numeric_limits<std::int64_t>::min)()
#define SBE_NULLVALUE_UINT8 (std::numeric_limits<std::uint8_t>::max)()
#define SBE_NULLVALUE_UINT16 (std::numeric_limits<std::uint16_t>::max)()
#define SBE_NULLVALUE_UINT32 (std::numeric_limits<std::uint32_t>::max)()
#define SBE_NULLVALUE_UINT64 (std::numeric_limits<std::uint64_t>::max)()

namespace MetaAttribute {

Expand Down

0 comments on commit eff6e63

Please sign in to comment.