apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject [PATCH] Fix 'apr_private.h:714:5: warning: "BEOS" is not defined'
Date Sat, 13 Nov 2004 20:19:52 GMT
I get this warning frequently when building Subversion against APR.  This patch 
appears to be the correct fix (rather than ensuring that BEOS is always 
defined) because the symbol is always tested in this way elsewhere in APR.

I have just subscribed to this mailing list.  Please let me know if there is 
anything else I can do to get this into APR.

- Julian


Index: acconfig.h
===================================================================
RCS file: /home/cvspublic/apr/acconfig.h,v
retrieving revision 1.67
diff -u -3 -p -d -r1.67 acconfig.h
--- acconfig.h  17 Nov 2003 14:25:35 -0000      1.67
+++ acconfig.h  13 Nov 2004 19:43:30 -0000
@@ -19,7 +19,7 @@
  #undef ssize_t

  /* switch this on if we have a BeOS version below BONE */
-#if BEOS && !HAVE_BONE_VERSION
+#if defined(BEOS) && !HAVE_BONE_VERSION
  #define BEOS_R5 1
  #else
  #define BEOS_BONE 1

Mime
View raw message