summaryrefslogtreecommitdiff
path: root/src/include/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port.h')
-rw-r--r--src/include/port.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/include/port.h b/src/include/port.h
index c3e63310a97..9869674a362 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.44 2004/07/21 03:07:40 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.45 2004/07/23 01:58:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -246,13 +246,3 @@ extern int pqGethostbyname(const char *name,
struct hostent **result,
int *herrno);
-/* FIXME: [win32] Placeholder win32 replacements, to allow continued development */
-#ifdef WIN32
-#define fsync(a) _commit(a)
-#define sync() _flushall()
-#define ftruncate(a,b) chsize(a,b)
-#define WEXITSTATUS(w) (((w) >> 8) & 0xff)
-#define WIFEXITED(w) (((w) & 0xff) == 0)
-#define WIFSIGNALED(w) (((w) & 0x7f) > 0 && (((w) & 0x7f) < 0x7f))
-#define WTERMSIG(w) ((w) & 0x7f)
-#endif