Skip to content

Commit 0a27cc4

Browse files
committed
Add include file available checks
1 parent dcb622b commit 0a27cc4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/slimcpplib/long_uint.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@
3333
#pragma once
3434

3535
#include "long_math.h"
36+
37+
#if __has_include("long_math_gcc.h")
3638
#include "long_math_gcc.h"
39+
#endif // __has_include("long_math_gcc.h")
40+
41+
#if __has_include("long_math_msvc.h")
3742
#include "long_math_msvc.h"
43+
#endif // __has_include("long_math_msvc.h")
3844

3945
#include <optional>
4046

0 commit comments

Comments
 (0)