From daa677f1a38844922e7e1571764d72c5fe930449 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 18 Dec 2023 12:59:55 -0500 Subject: [PATCH] Revert "don't use the NONNULLxxx macros with djgpp" This reverts commit 088717ccec9d5311fc22340729df37fc83900e69. The source of the issue was found and corrected in 08a1e6816. msdos tested okay --- include/tradstdc.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/tradstdc.h b/include/tradstdc.h index 128a9dca9..6bb60b5bf 100644 --- a/include/tradstdc.h +++ b/include/tradstdc.h @@ -373,10 +373,6 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */ #define DO_DEFINE_NONNULLS #endif -#if defined(__DJGPP__) && defined(DO_DEFINE_NONNULLS) -#undef DO_DEFINE_NONNULLS -#endif - #if defined(DO_DEFINE_NONNULLS) && !defined(NONNULLS_DEFINED) #define NONNULL __attribute__((returns_nonnull)) #define NONNULLPTRS __attribute__((nonnull))