summaryrefslogtreecommitdiff
path: root/nt/config.nt
diff options
context:
space:
mode:
Diffstat (limited to 'nt/config.nt')
-rw-r--r--nt/config.nt6
1 files changed, 5 insertions, 1 deletions
diff --git a/nt/config.nt b/nt/config.nt
index 1fe707cce2d..4f151fcad20 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -1143,8 +1143,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 if you have the `_ftime' function. */
#undef HAVE__FTIME
-/* Define to 1 if _setjmp and _longjmp work. */
+/* Define to 1 if _setjmp and _longjmp work. MinGW64 uses a
+ 2-argument _setjmp, and setjmp is a macro defined to supply the 2nd
+ arg correctly, so don't use _setjmp directly in that case. */
+#ifndef _W64
#define HAVE__SETJMP 1
+#endif
/* Define to 1 if you have the `__builtin_unwind_init' function. */
#undef HAVE___BUILTIN_UNWIND_INIT