io.h

Dimitrie O. Paun dpaun at rogers.com
Sat Jan 4 12:42:19 CST 2003


As discussed a few days ago, Cygwin has an io.h header
that apps expect to find. Since it does not exist in
Windows, we can simply install it together with all the
other headers.

ChangeLog
  New io.h header for compatibility with cygwin's headers.

Index: include/Makefile.in
===================================================================
RCS file: /var/cvs/wine/include/Makefile.in,v
retrieving revision 1.77
diff -u -r1.77 Makefile.in
--- include/Makefile.in	23 Dec 2002 01:41:51 -0000	1.77
+++ include/Makefile.in	4 Jan 2003 18:34:35 -0000
@@ -56,6 +56,7 @@
 	imm.h \
 	initguid.h \
 	instance.h \
+	io.h \
 	ipexport.h \
 	lm.h \
 	lmaccess.h \
--- /dev/null	2002-08-30 19:31:37.000000000 -0400
+++ include/io.h	2003-01-04 13:33:53.000000000 -0500
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) the Wine project
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef _IO_H_
+#define _IO_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+int access(const char *__path, int __amode);
+
+#ifdef __cplusplus
+};
+#endif /* __cplusplus */
+
+#endif /* _IO_H_ */


-- 
Dimi.




More information about the wine-patches mailing list