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
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2007-01-27 12:50:11 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2007-01-27 12:50:11 +0300
commit9571d219fe588797a772ec3dd15c79433af3520e (patch)
treec7bfa262a7da24e11e6188a7447785510d4886e9 /winsup
parentb8d15502071723b312b3ced628eb8bf93d7181d8 (diff)
Expose some msvcr80.dll functions.
* include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/mingw/ChangeLog9
-rw-r--r--winsup/mingw/include/stdio.h10
-rw-r--r--winsup/mingw/msvcrt.def.in6
3 files changed, 24 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index f248a69a3..6adb7bf3a 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,11 @@
+2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
+
+ Expose some more msvcr80.dll functions.
+ * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
+ _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
+ * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
+ _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
+
2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
Expose some msvcr80.dll functions.
@@ -11,7 +19,6 @@
* msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
_set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
-
2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (CRT_INLINE): Correct typo.
diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h
index 1c02eeea9..bc40f5823 100644
--- a/winsup/mingw/include/stdio.h
+++ b/winsup/mingw/include/stdio.h
@@ -296,6 +296,16 @@ _CRTIMP int __cdecl fseek (FILE*, long, int);
_CRTIMP long __cdecl ftell (FILE*);
_CRTIMP void __cdecl rewind (FILE*);
+#if __MSVCRT_VERSION__ >= 0x800
+_CRTIMP int __cdecl _fseek_nolock (FILE*, long, int);
+_CRTIMP long __cdecl _ftell_nolock (FILE*);
+
+_CRTIMP int __cdecl _fseeki64 (FILE*, __int64, int);
+_CRTIMP __int64 __cdecl _ftelli64 (FILE*);
+_CRTIMP int __cdecl _fseeki64_nolock (FILE*, __int64, int);
+_CRTIMP __int64 __cdecl _ftelli64_nolock (FILE*);
+#endif
+
#ifdef __USE_MINGW_FSEEK /* These are in libmingwex.a */
/*
* Workaround for limitations on win9x where a file contents are
diff --git a/winsup/mingw/msvcrt.def.in b/winsup/mingw/msvcrt.def.in
index 0d55b469f..9aa9229ed 100644
--- a/winsup/mingw/msvcrt.def.in
+++ b/winsup/mingw/msvcrt.def.in
@@ -812,4 +812,10 @@ _get_printf_count_output
_set_printf_count_output
_set_abort_behavior
_set_invalid_parameter_handler
+_fseek_nolock
+_ftell_nolock
+_fseeki64
+_ftelli64
+_fseeki64_nolock
+_ftelli64_nolock
#endif /* 8.0 */