From: Paul Eggert Date: Thu, 15 Jun 2017 17:33:10 +0000 (-0700) Subject: Don’t worry about __STDC_VERSION__ in emacs-module X-Git-Tag: emacs-26.0.90~521^2~69 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebdcfa960d51704de2a9cdeaceb175e502b7aedc;p=emacs.git Don’t worry about __STDC_VERSION__ in emacs-module * 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. --- 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