subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1717873 - /subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
Date Thu, 03 Dec 2015 23:15:39 GMT
Author: stefan2
Date: Thu Dec  3 23:15:39 2015
New Revision: 1717873

URL: http://svn.apache.org/viewvc?rev=1717873&view=rev
Log:
Follow-up to 1717869: Second attempt to fix the compile error with VC .

* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
  (compare_0_length_rep): When in doubt, use macros.

Modified:
    subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c

Modified: subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c?rev=1717873&r1=1717872&r2=1717873&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c Thu Dec  3 23:15:39 2015
@@ -1664,11 +1664,11 @@ compare_0_length_rep(const svn_test_opts
   apr_hash_t *fs_config;
 
   /* Test expectations. */
-  const char * const no_rep_file = "no-rep";
-  const char * const empty_plain_file = "empty-plain";
-  const char * const plain_file = "plain";
-  const char * const empty_delta_file = "empty-delta";
-  const char * const delta_file = "delta";
+#define no_rep_file      "no-rep"
+#define empty_plain_file "empty-plain"
+#define plain_file       "plain"
+#define empty_delta_file "empty-delta"
+#define delta_file       "delta"
 
   enum { COUNT = 5 };
   const char *file_names[COUNT] = { no_rep_file,



Mime
View raw message