summaryrefslogtreecommitdiff
path: root/gcc/config/winnt/oldnames.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/winnt/oldnames.c')
-rwxr-xr-xgcc/config/winnt/oldnames.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/gcc/config/winnt/oldnames.c b/gcc/config/winnt/oldnames.c
new file mode 100755
index 0000000..b7a1779
--- /dev/null
+++ b/gcc/config/winnt/oldnames.c
@@ -0,0 +1,47 @@
+int
+access (const char *path, int mode)
+{
+ return _access (path, mode);
+}
+
+int
+chmod (const char *filename, int pmode)
+{
+ return _chmod (filename, pmode);
+}
+
+int
+close (int handle)
+{
+ return _close (handle);
+}
+
+char *
+mktemp (char *template)
+{
+ return (char *) _mktemp (template);
+}
+
+int
+open (const char *filename, int oflag, int pmode)
+{
+ return _open (filename, oflag, pmode);
+}
+
+int
+read (int handle, void *buffer, unsigned int count)
+{
+ return _read (handle, buffer, count);
+}
+
+int
+unlink (const char *path)
+{
+ return _unlink (path);
+}
+
+int
+write (int handle, void *buffer, unsigned int count)
+{
+ return _write (handle, buffer, count);
+}