Avoid using BIO streams in bioprinttest.c
[openssl.git] / test / testutil.h
index d266fd52889ab80917f3dc4d2547d674cb1f31e8..5d96ddd41c71004563c235e85f3e9bc69897dc4d 100644 (file)
@@ -176,7 +176,13 @@ DECLARE_COMPARISONS(char, char)
 DECLARE_COMPARISONS(unsigned char, uchar)
 DECLARE_COMPARISONS(long, long)
 DECLARE_COMPARISONS(unsigned long, ulong)
+/*
+ * Because this comparison uses a printf format specifier that's not
+ * universally known (yet), we provide an option to not have it declared.
+ */
+# ifndef TESTUTIL_NO_size_t_COMPARISON
 DECLARE_COMPARISONS(size_t, size_t)
+# endif
 
 /*
  * Pointer comparisons against other pointers and null.