ports/databases/libodbc++/files/patch-src-datastream.h
Max Khon 2a9374d10f Fix build on 64-bit architectures.
Noticed by:	kris (bento)
2004-06-02 20:03:34 +00:00

17 lines
383 B
C++

--- src/datastream.h.orig Wed Jun 2 12:44:31 2004
+++ src/datastream.h Wed Jun 2 12:51:48 2004
@@ -63,7 +63,13 @@
return 0;
}
- virtual int showmanyc() {
+ virtual
+#if !defined(ODBCXX_HAVE_ISO_CXXLIB)
+ int
+#else
+ std::streamsize
+#endif
+ showmanyc() {
if(this->gptr() < this->egptr()) {
return this->egptr() - this->gptr();
}