From e8f647e0c5c31b5dd5d7607970f1bb06f0831dc6 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 12 May 2024 10:13:41 +0800 Subject: [PATCH] Fix the DJGPP build * msdos/sedlibmk.inp (HAVE_STRTOF, NULLPTR_T_NEEDS_STDDEF): Define to 1. (cherry picked from commit 47a0fc91dfc73c480fa5042810df304df647b758) --- msdos/sedlibmk.inp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp index 1d8ae778168..fd3fde0ad0b 100644 --- a/msdos/sedlibmk.inp +++ b/msdos/sedlibmk.inp @@ -251,6 +251,7 @@ s/@PACKAGE@/emacs/ /^HAVE_STRPBRK *=/s/@HAVE_STRPBRK@/1/ /^HAVE_STRSEP *=/s/@HAVE_STRSEP@/1/ /^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/ +/^HAVE_STRTOF *=/s/@HAVE_STRTOF@/1/ /^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/ /^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/ /^HAVE_STRUCT_TIMEVAL *=/s/@HAVE_STRUCT_TIMEVAL@/1/ @@ -321,6 +322,7 @@ s/@PACKAGE@/emacs/ /^NEXT_TIME_H *=/s/@[^@\n]*@// /^NEXT_INTTYPES_H *=/s/@[^@\n]*@// /^NEXT_UNISTD_H *=/s/@[^@\n]*@// +/^NULLPTR_T_NEEDS_STDDEF *=/s/@[^@\n]*@/1/ /^OBJEXT *=/s/@[^@\n]*@/o/ /^PRAGMA_COLUMNS *=/s/@[^@\n]*@// /^PRAGMA_SYSTEM_HEADER *=/s/@[^@\n]*@/\\\#pragma GCC system_header/ -- 2.39.5