From ebdcfa960d51704de2a9cdeaceb175e502b7aedc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 15 Jun 2017 10:33:10 -0700 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20worry=20about=20=5F=5FSTDC=5FVER?= =?utf8?q?SION=5F=5F=20in=20emacs-module?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * src/emacs-module.h: Remove __STDC_VERSION__ check. In the past we’ve found that some compilers do not define this symbol even when they work well enough. If necessary features like stdbool.h are missing the compiler will complain eventually anyway. --- src/emacs-module.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/emacs-module.h b/src/emacs-module.h index ad102e6d843..f545a27b5fd 100644 --- a/src/emacs-module.h +++ b/src/emacs-module.h @@ -20,11 +20,6 @@ along with GNU Emacs. If not, see . */ #ifndef EMACS_MODULE_H #define EMACS_MODULE_H -#if ! (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) \ - && ! (defined __cplusplus && __cplusplus >= 199711L) -# error "This file requires at least C99 or C++98" -#endif - #include #include -- 2.39.2