summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/win32.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-07-21 04:32:42 +0000
committerBruce Momjian <bruce@momjian.us>2001-07-21 04:32:42 +0000
commitca5a51627919c6fb6ab5e23739615a674caa4037 (patch)
tree726a6831bc684bde895b6ce54ed2b077f318f9c2 /src/interfaces/libpq/win32.h
parent54bf5da7d749e463faf419c3704e0e455f2491fe (diff)
I downloaded new source for lib (only few hours old !!!), and made
changes on this new source to make non-blocking connection work. I tested it, and PQSendQuery and PQGetResult are working fine. In win32.h I added one line: #define snprintf _snprintf Darko Prenosil
Diffstat (limited to 'src/interfaces/libpq/win32.h')
-rw-r--r--src/interfaces/libpq/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/libpq/win32.h b/src/interfaces/libpq/win32.h
index eb250350be4..988455a8ec1 100644
--- a/src/interfaces/libpq/win32.h
+++ b/src/interfaces/libpq/win32.h
@@ -16,6 +16,7 @@
#define popen(a,b) _popen(a,b)
#define pclose(a) _pclose(a)
#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)
+#define snprintf _snprintf
/*
* crypt not available (yet)