emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ebdcfa9: Don’t worry about __STDC_VERSION__ in ema


From: Paul Eggert
Subject: [Emacs-diffs] master ebdcfa9: Don’t worry about __STDC_VERSION__ in emacs-module
Date: Thu, 15 Jun 2017 13:33:36 -0400 (EDT)

branch: master
commit ebdcfa960d51704de2a9cdeaceb175e502b7aedc
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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.
---
 src/emacs-module.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/emacs-module.h b/src/emacs-module.h
index ad102e6..f545a27 100644
--- a/src/emacs-module.h
+++ b/src/emacs-module.h
@@ -20,11 +20,6 @@ along with GNU Emacs.  If not, see 
<http://www.gnu.org/licenses/>.  */
 #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 <stdint.h>
 #include <stddef.h>
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]