Commit 955f3b13 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix compilation with MSVC in lib/.

 nt/config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
parent a97f8f3f
2011-11-05 Eli Zaretskii <eliz@gnu.org> 2011-11-05 Eli Zaretskii <eliz@gnu.org>
* config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
Support MSVC build with newer versions of Visual Studio. Support MSVC build with newer versions of Visual Studio.
* makefile.w32-in (clean-other-dirs-nmake) * makefile.w32-in (clean-other-dirs-nmake)
(distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake): (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
......
...@@ -328,9 +328,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -328,9 +328,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to `__inline__' or `__inline' if that's what the C compiler /* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */ calls it, or to nothing if 'inline' is not supported under any name. */
#ifdef __GNUC__
#ifndef __cplusplus #ifndef __cplusplus
#undef inline #undef inline
#endif #endif
#else /* MSVC */
#define inline __inline
#endif
/* Define to the equivalent of the C99 'restrict' keyword, or to /* Define to the equivalent of the C99 'restrict' keyword, or to
nothing if this is not supported. Do not define if restrict is nothing if this is not supported. Do not define if restrict is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment