]> granicus.if.org Git - postgresql/commitdiff
#ifdef fix for MSVC builds of libpq.
authorBruce Momjian <bruce@momjian.us>
Fri, 4 Aug 2006 18:58:33 +0000 (18:58 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 4 Aug 2006 18:58:33 +0000 (18:58 +0000)
Hiroshi Saito

src/interfaces/libpq/libpq-int.h

index e72d4d911cfce228a6eb5a291f7ef53c15162001..2c5f3f288bb2b6ac3fdc2a5fa31554e12ea90c4c 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.113 2006/05/21 20:19:23 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.114 2006/08/04 18:58:33 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -38,7 +38,7 @@
 #include <signal.h>
 #endif
 
-#ifdef WIN32_CLIENT_ONLY
+#ifdef WIN32_ONLY_COMPILER
 typedef int ssize_t;                   /* ssize_t doesn't exist in VC (at least not
                                                                 * VC6) */
 #endif