factorial: Fix usage message to fit in with conventions.
[u/mdw/catacomb] / mptypes.c
index 9796d5c..613e214 100644 (file)
--- a/mptypes.c
+++ b/mptypes.c
 
 /* --- Choose the largest integer type --- */
 
-#if defined(UINTMAX_MAX)
+#if defined(UINTMAX_MAX) && defined(PRIuMAX)
   typedef uintmax_t umax;
 # define P_UMAX PRIuMAX
 #elif defined(ULLONG_MAX)
-  __extension__ typedef unsigned long long umax;
+  EXT typedef unsigned long long umax;
 # define P_UMAX "llu"
 #else
   typedef unsigned long umax;