summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/libpq-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r--src/interfaces/libpq/libpq-int.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h
index 07cbe20d56..aee2fce13c 100644
--- a/src/interfaces/libpq/libpq-int.h
+++ b/src/interfaces/libpq/libpq-int.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq-int.h,v 1.51 2002/06/20 20:29:54 momjian Exp $
+ * $Id: libpq-int.h,v 1.52 2002/07/20 05:43:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -20,6 +20,10 @@
#ifndef LIBPQ_INT_H
#define LIBPQ_INT_H
+#if defined(WIN32) && (!defined(ssize_t))
+ typedef int ssize_t; /* ssize_t doesn't exist in VC (atleast not VC6) */
+#endif
+
/* We assume libpq-fe.h has already been included. */
#include "postgres_fe.h"