* nt/config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.

This commit is contained in:
Christoph Scholtes 2011-11-05 08:59:51 -06:00
parent 955f3b13c6
commit 600b1907da
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
* config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.
2011-11-05 Eli Zaretskii <eliz@gnu.org>
* config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.

View file

@ -345,6 +345,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
# define restrict
#endif
/* Define to `int' if <sys/types.h> does not define. */
#ifdef __GNUC__
/* No action required for gcc */
#else /* MSVC */
#define mode_t int
#endif
/* A va_copy replacement for MSVC. */
#ifdef _MSC_VER
# ifdef _WIN64