Skip to content

Commit 65689b0

Browse files
committed
windows compat
1 parent 2f05a0e commit 65689b0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/decimal.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
55
#include <stdint.h>
6+
#include <iostream>
67
#include <doctest/all>
78
#include <decimal.hpp>
89

@@ -14,7 +15,9 @@
1415
#endif
1516

1617
#define TRACE std::cerr
17-
#define uint128_t __uint128_t
18+
#ifndef _MSC_VER
19+
using uint128_t = BID_UINT128;
20+
#endif
1821

1922
struct value_t{ std::string a,b,c; };
2023
using decimal_t = typename math::decimal_t<uint64_t>;

0 commit comments

Comments
 (0)