Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2000-11-21 05:50:03 +0300
committerEarnie Boyd <earnie@users.sf.net>2000-11-21 05:50:03 +0300
commit6126c12345d31cdd4714b3bb40ba54f13347016d (patch)
tree90236da9edcf2f702e06f006f9eac38d53a6aac4 /winsup/mingw/include/direct.h
parentd5b692284b02ca019ed50fa33790c38f5c905d00 (diff)
* 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
Diffstat (limited to 'winsup/mingw/include/direct.h')
-rw-r--r--winsup/mingw/include/direct.h5
1 files changed, 2 insertions, 3 deletions
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