diff options
Diffstat (limited to 'src/include/port/win32_msvc')
| -rw-r--r-- | src/include/port/win32_msvc/dirent.h | 21 | ||||
| -rw-r--r-- | src/include/port/win32_msvc/sys/file.h | 1 | ||||
| -rw-r--r-- | src/include/port/win32_msvc/sys/param.h | 1 | ||||
| -rw-r--r-- | src/include/port/win32_msvc/sys/time.h | 1 | ||||
| -rw-r--r-- | src/include/port/win32_msvc/unistd.h | 1 | ||||
| -rw-r--r-- | src/include/port/win32_msvc/utime.h | 1 |
6 files changed, 26 insertions, 0 deletions
diff --git a/src/include/port/win32_msvc/dirent.h b/src/include/port/win32_msvc/dirent.h new file mode 100644 index 0000000000..42af9bd219 --- /dev/null +++ b/src/include/port/win32_msvc/dirent.h @@ -0,0 +1,21 @@ +/*
+ * Headers for port/dirent.c, win32 native implementation of dirent functions
+ *
+ * $PostgreSQL: pgsql/src/include/port/win32_msvc/dirent.h,v 1.1 2006/06/07 22:24:45 momjian Exp $
+ */
+
+#ifndef _WIN32VC_DIRENT_H
+#define _WIN32VC_DIRENT_H
+struct dirent {
+ long d_ino;
+ unsigned short d_reclen;
+ unsigned short d_namlen;
+ char d_name[MAX_PATH];
+};
+
+typedef struct DIR DIR;
+
+DIR* opendir(const char *);
+struct dirent* readdir(DIR *);
+int closedir(DIR*);
+#endif
diff --git a/src/include/port/win32_msvc/sys/file.h b/src/include/port/win32_msvc/sys/file.h new file mode 100644 index 0000000000..b02d4ad950 --- /dev/null +++ b/src/include/port/win32_msvc/sys/file.h @@ -0,0 +1 @@ +/* $PostgreSQL: pgsql/src/include/port/win32_msvc/sys/file.h,v 1.1 2006/06/07 22:24:45 momjian Exp $ */
diff --git a/src/include/port/win32_msvc/sys/param.h b/src/include/port/win32_msvc/sys/param.h new file mode 100644 index 0000000000..8efec5a21d --- /dev/null +++ b/src/include/port/win32_msvc/sys/param.h @@ -0,0 +1 @@ +/* $PostgreSQL: pgsql/src/include/port/win32_msvc/sys/param.h,v 1.1 2006/06/07 22:24:45 momjian Exp $ */
diff --git a/src/include/port/win32_msvc/sys/time.h b/src/include/port/win32_msvc/sys/time.h new file mode 100644 index 0000000000..0295788ec4 --- /dev/null +++ b/src/include/port/win32_msvc/sys/time.h @@ -0,0 +1 @@ +/* $PostgreSQL: pgsql/src/include/port/win32_msvc/sys/time.h,v 1.1 2006/06/07 22:24:45 momjian Exp $ */
diff --git a/src/include/port/win32_msvc/unistd.h b/src/include/port/win32_msvc/unistd.h new file mode 100644 index 0000000000..b0072a0af6 --- /dev/null +++ b/src/include/port/win32_msvc/unistd.h @@ -0,0 +1 @@ +/* $PostgreSQL: pgsql/src/include/port/win32_msvc/unistd.h,v 1.1 2006/06/07 22:24:45 momjian Exp $ */
diff --git a/src/include/port/win32_msvc/utime.h b/src/include/port/win32_msvc/utime.h new file mode 100644 index 0000000000..2209604f3c --- /dev/null +++ b/src/include/port/win32_msvc/utime.h @@ -0,0 +1 @@ +/* $PostgreSQL: pgsql/src/include/port/win32_msvc/utime.h,v 1.1 2006/06/07 22:24:45 momjian Exp $ */
|
