+#else
+ left = elapse - n;
+ elapse = when_wall(n, elapse);
+
+ /* Warn immediately if less than 15 minutes are left, but not if
+ * there aren't more than three seconds to the next timeout. */
+ if ( (left < 15 * USEC_PER_MINUTE)
+ && (elapse > 3 * USEC_PER_SEC) ) {
+ r = warn_wall(m, n);
+ if (r == 0)
+ return 0;
+ }
+
+ /* If the next timeout is within on second, delay it by 3 seconds */
+ if (USEC_PER_SEC > elapse)
+ elapse = 3 * USEC_PER_SEC;
+#endif // 0