lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r468604 - /lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm
Date Sat, 28 Oct 2006 00:58:23 GMT
Author: marvin
Date: Fri Oct 27 17:58:22 2006
New Revision: 468604

URL: http://svn.apache.org/viewvc?view=rev&rev=468604
Log:
Move an #include up to the top where it belongs.

Modified:
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm?view=diff&rev=468604&r1=468603&r2=468604
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm Fri Oct 27 17:58:22
2006
@@ -4,6 +4,9 @@
 #include "_charm_test.h"
 #include <stdio.h>
 #include <string.h>
+#ifdef HAS_INTTYPES_H
+    #include <inttypes.h>
+#endif
 
 void 
 chaz_TestHand_test_Integers(int *num_tests, int *num_passed, int *num_failed, 
@@ -41,9 +44,11 @@
 #endif
     
 #ifdef HAS_INTTYPES_H
-    #include <inttypes.h>
     Assert_True((sizeof(int8_t) == 1), "HAS_INTTYPES_H");
+#else
+    Skip("No inttypes.h");
 #endif
+
     
     {
         bool_t the_truth = true;



Mime
View raw message