aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/rdrand
diff options
context:
space:
mode:
authorsimon <[email protected]>2015-05-31 19:54:54 +0000
committerlloyd <[email protected]>2015-05-31 19:54:54 +0000
commitc1d4458aa3c0af01a77a58997f8fdf8648d7ddef (patch)
tree303bb2f4e8cc5404427757fba1c35abe7bc257a3 /src/lib/entropy/rdrand
parentadb77e960969d0636349db251c2035689457d224 (diff)
Avoid 0-defining BOTAN_USE_GCC_INLINE_ASM
GH #103
Diffstat (limited to 'src/lib/entropy/rdrand')
-rw-r--r--src/lib/entropy/rdrand/rdrand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/entropy/rdrand/rdrand.cpp b/src/lib/entropy/rdrand/rdrand.cpp
index 3ae924cde..74876e203 100644
--- a/src/lib/entropy/rdrand/rdrand.cpp
+++ b/src/lib/entropy/rdrand/rdrand.cpp
@@ -38,7 +38,7 @@ void Intel_Rdrand::poll(Entropy_Accumulator& accum)
{
unsigned int r = 0;
-#if BOTAN_USE_GCC_INLINE_ASM
+#if defined(BOTAN_USE_GCC_INLINE_ASM)
int cf = 0;
// Encoding of rdrand %eax