Use NON_EMPTY_TRANSLATION_UNIT, consistently.
[openssl.git] / include / openssl / opensslconf.h.in
index 2ba1599cd0853451d14819a16b184ad0bb9b6120..c22209bdc3271e8a66292d632cca38856adf49b5 100644 (file)
@@ -71,6 +71,12 @@ EOF
     "";
 -}
 
+/*
+ * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
+ * don't like that.  This will hopefully silence them.
+ */
+#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
+
 /*
  * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
  * declarations of functions deprecated in or before <version>. Otherwise, they