You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2006/10/28 02:58:23 UTC
svn commit: r468604 -
/lucene/lucy/trunk/charmonizer/src/Charmonizer/Test/Integers.charm
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;