$OpenBSD: patch-ucb_source_ucp_webdav_NeonSession_cxx,v 1.1 2008/11/13 13:17:43 ajacoutot Exp $
--- ucb/source/ucp/webdav/NeonSession.cxx.orig.port	Wed Nov 12 16:20:57 2008
+++ ucb/source/ucp/webdav/NeonSession.cxx	Wed Nov 12 16:16:03 2008
@@ -252,7 +252,7 @@ struct NeonRequestContext
 // A simple Neon response_block_reader for use with an XInputStream
 // -------------------------------------------------------------------
 
-#if NEON_VERSION >= 0250
+#if NEON_VERSION >= 0x0250
 extern "C" int NeonSession_ResponseBlockReader(void * inUserData, 
 #else
 extern "C" void NeonSession_ResponseBlockReader(void * inUserData, 
@@ -272,7 +272,7 @@ extern "C" void NeonSession_ResponseBlockReader(void *
         if ( xInputStream.is() )
             xInputStream->AddToStream( inBuf, inLen );
     }
-#if NEON_VERSION >= 0250
+#if NEON_VERSION >= 0x0250
     return 0;
 #endif
 }
@@ -282,7 +282,7 @@ extern "C" void NeonSession_ResponseBlockReader(void *
 // A simple Neon response_block_reader for use with an XOutputStream
 // -------------------------------------------------------------------
 
-#if NEON_VERSION >= 0250
+#if NEON_VERSION >= 0x0250
 extern "C" int NeonSession_ResponseBlockWriter( void * inUserData, 
 #else
 extern "C" void NeonSession_ResponseBlockWriter( void * inUserData, 
@@ -304,7 +304,7 @@ extern "C" void NeonSession_ResponseBlockWriter( void 
             xOutputStream->writeBytes( aSeq );
         }
     }
-#if NEON_VERSION >= 0250
+#if NEON_VERSION >= 0x0250
     return 0;
 #endif
 }
@@ -1667,7 +1667,7 @@ int NeonSession::GET( ne_session * sess,
     void *cursor = NULL;
     const char *name, *value;
 
-#if NEON_VERSION < 0250
+#if NEON_VERSION < 0x0250
     if ( getheaders )
 	ne_add_response_header_catcher( req, runResponseHeaderHandler, userdata );
 #endif
@@ -1675,7 +1675,7 @@ int NeonSession::GET( ne_session * sess,
 
     ret = ne_request_dispatch( req );
 
-#if NEON_VERSION >= 0250
+#if NEON_VERSION >= 0x0250
     if ( getheaders )
     {
         while ((cursor = ne_response_header_iterate(req, cursor, &name, &value)) 
