You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wh...@apache.org on 2004/11/24 11:15:29 UTC
cvs commit: ws-axis/c/src/transport/axis2 Channel.h
whitlock 2004/11/24 02:15:29
Modified: c/src/transport/axis2 Channel.h
Log:
Fix build break on Windows. The error was "undeclared identifier BUF_SIZE line 540". The bug was that BUF_SIZE was declared in Channel.h in a #ifdef that excluded windows, but it was used on all platforms in Channel.cpp. The fix was simply to move the declaration of BUF_SIZE out of the #ifdef.
Revision Changes Path
1.5 +2 -1 ws-axis/c/src/transport/axis2/Channel.h
Index: Channel.h
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Channel.h 24 Nov 2004 08:08:50 -0000 1.4
+++ Channel.h 24 Nov 2004 10:15:29 -0000 1.5
@@ -55,12 +55,13 @@
const unsigned int INVALID_SOCKET = 0;
const int SOCKET_ERROR = -1;
-const int BUF_SIZE = 1024 * 8;
/* ther OS specific stuff goes here */
#endif
+
+const int BUF_SIZE = 1024 * 8;
/*
*