From 49b9cccd0286980c1c1811c3b03df883ef0164df Mon Sep 17 00:00:00 2001
From: Doug Torrance <dtorrance@piedmont.edu>
Date: Tue, 14 Dec 2021 16:22:33 -0500
Subject: [PATCH] Only register uint128_t as a TypeName when it's available.

Otherwise, test-fft will fail when it isn't.
---
 tests/test-fft.C | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test-fft.C b/tests/test-fft.C
index d19184c2d..5811ebc5d 100644
--- a/tests/test-fft.C
+++ b/tests/test-fft.C
@@ -55,7 +55,9 @@ REGISTER_TYPE_NAME(double);
 REGISTER_TYPE_NAME(uint16_t);
 REGISTER_TYPE_NAME(uint32_t);
 REGISTER_TYPE_NAME(uint64_t);
+#ifdef __FFLASFFPACK_HAVE_INT128
 REGISTER_TYPE_NAME(uint128_t);
+#endif
 REGISTER_TYPE_NAME(Modular);
 REGISTER_TYPE_NAME(ModularExtended);
 
