Skip to content

Commit 2b14e04

Browse files
committed
feat: define HAVE___UINT128_T with condition
1 parent 7c0540e commit 2b14e04

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vendor/config.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818
/* #undef HAVE__UMUL128 */
1919
/* #undef HAVE___UMULH */
20-
#define HAVE___UINT128_T 1
20+
#if defined(__GNUC__) && defined(__SIZEOF_INT128__)
21+
# define HAVE___UINT128_T 1
22+
#endif
2123

2224
#define HAVE_GLPK 1
2325
#define HAVE_LIBXML 1

0 commit comments

Comments
 (0)