aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-04-19 05:59:30 -0400
committerJack Lloyd <[email protected]>2019-04-19 06:35:29 -0400
commitb1a06fed41f137331045c96f50020c0c4feca42e (patch)
tree1a13e30423959e15565f0a900a6589126010a189 /src/build-data
parent7fdfb8100b4bc10f652c6fcf08eb986ad84012ec (diff)
Avoid C++ style comments in headers that may be parsed as C
Also remove the TLS declarations from ffi.h for now since that isn't supported at all.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index eb10abe5a..d969c7f5b 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -215,7 +215,10 @@ Each read generates 32 bits of output
*/
#define BOTAN_ENTROPY_INTEL_RNG_POLLS 32
-// According to Intel, RDRAND is guaranteed to generate a random number within 10 retries on a working CPU
+/*
+According to Intel, RDRAND is guaranteed to generate a random
+number within 10 retries on a working CPU
+*/
#define BOTAN_ENTROPY_RDRAND_RETRIES 10
/*
@@ -255,11 +258,11 @@ Each read generates 32 bits of output
#elif defined(BOTAN_HAS_SHA1)
#define BOTAN_AUTO_RNG_HMAC "HMAC(SHA-1)"
#endif
- // Otherwise, no hash found: leave BOTAN_AUTO_RNG_HMAC undefined
+ /* Otherwise, no hash found: leave BOTAN_AUTO_RNG_HMAC undefined */
#endif
-// Check for a common build problem:
+/* Check for a common build problem */
#if defined(BOTAN_TARGET_ARCH_IS_X86_64) && ((defined(_MSC_VER) && !defined(_WIN64)) || \
(defined(__clang__) && !defined(__x86_64__)) || \