From 6126c12345d31cdd4714b3bb40ba54f13347016d Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Tue, 21 Nov 2000 02:50:03 +0000 Subject: * include/direct.h: add guard around MSVCRT-only prototytpes * include/io.h: add __int64 struct definitions and function prototypes; add guard for MSVCRT-only prototypes * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX * include/stdio.h: add wchar function prototypes (__MSVCRT__); put wchar functions together to make sync with wchar.h easier * include/stdlib.h: add wide char functions (__MSVCRT__) * include/string.h: add string collation functions ( __MSVCRT__) * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__) * include/tchar.h: add macros and macro function definitions * include/wchar.h: add wide char function prototypes ( __MSVCRT__ ); enclose more functions in __MSVCRT__ guard; some oldname wide char function prototypes #if (0)'d * profile/gmon.h: add guard around BSD-ish typedefs --- winsup/mingw/include/direct.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'winsup/mingw/include/direct.h') diff --git a/winsup/mingw/include/direct.h b/winsup/mingw/include/direct.h index cac11a8df..c5b07aafb 100644 --- a/winsup/mingw/include/direct.h +++ b/winsup/mingw/include/direct.h @@ -72,15 +72,14 @@ unsigned _getdiskfree (unsigned, struct _diskfree_t *); #endif #ifndef _WDIRECT_DEFINED - /* wide character versions. Also in wchar.h */ - +#ifdef __MSVCRT__ int _wchdir(const wchar_t*); wchar_t* _wgetcwd(wchar_t*, int); wchar_t* _wgetdcwd(int, wchar_t*, int); int _wmkdir(const wchar_t*); int _wrmdir(const wchar_t*); - +#endif /* __MSVCRT__ */ #define _WDIRECT_DEFINED #endif -- cgit v1.2.3