--- a/scmfig.h
+++ b/scmfig.h
@@ -272,6 +272,18 @@
 # define SHORT_INT
 # define CDR_DOUBLES
 #endif
+#ifdef __mips64
+# define SHORT_INT
+# define CDR_DOUBLES
+#endif
+#ifdef __riscv
+# define SHORT_INT
+# define CDR_DOUBLES
+#endif
+#ifdef __s390x__
+# define SHORT_INT
+# define CDR_DOUBLES
+#endif
 #ifdef MSDOS			/* Microsoft C 5.10 and 6.00A */
 # ifndef GO32
 #  define SHORT_INT
