You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2012/04/19 19:04:53 UTC

svn commit: r1328048 - /subversion/trunk/subversion/libsvn_subr/crypto.h

Author: julianfoad
Date: Thu Apr 19 17:04:53 2012
New Revision: 1328048

URL: http://svn.apache.org/viewvc?rev=1328048&view=rev
Log:
Cosmetics.

* subversion/libsvn_subr/crypto.h:
  In a #if, don't assume APU_HAVE_CRYPTO is defined, because in
  older versions of ARP/APU it isn't.  (That wasn't strictly an error, but
  my compiler gave a warning each time it processed this header.)
  Remove "for ..." comments from #include directives, because such
  comments always go out of date and aren't needed.

Modified:
    subversion/trunk/subversion/libsvn_subr/crypto.h

Modified: subversion/trunk/subversion/libsvn_subr/crypto.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/crypto.h?rev=1328048&r1=1328047&r2=1328048&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/crypto.h (original)
+++ subversion/trunk/subversion/libsvn_subr/crypto.h Thu Apr 19 17:04:53 2012
@@ -26,10 +26,10 @@
 
 /* Test for APR crypto and RNG support */
 #undef SVN_HAVE_CRYPTO
-#include <apr.h> /* for APR_HAS_RANDOM */
-#include <apu.h> /* for APU_HAVE_CRYPTO */
+#include <apr.h>
+#include <apu.h>
 #if APR_HAS_RANDOM
-#if APU_HAVE_CRYPTO
+#if defined(APU_HAVE_CRYPTO) && APU_HAVE_CRYPTO
 #define SVN_HAVE_CRYPTO
 #endif
 #endif