diff options
Diffstat (limited to 'random/rndhw.c')
-rw-r--r-- | random/rndhw.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/random/rndhw.c b/random/rndhw.c index c933cf90..0a5c9fa3 100644 --- a/random/rndhw.c +++ b/random/rndhw.c @@ -27,11 +27,14 @@ #undef USE_PADLOCK #ifdef ENABLE_PADLOCK_SUPPORT -# if ( (defined (__i386__) && SIZEOF_UNSIGNED_LONG == 4) || defined(__x86_64__) ) && defined (__GNUC__) -# define USE_PADLOCK +# ifdef __GNUC__ +# if (defined (__i386__) && SIZEOF_UNSIGNED_LONG == 4) || defined(__x86_64__) +# define USE_PADLOCK 1 +# endif # endif #endif /*ENABLE_PADLOCK_SUPPORT*/ + /* Keep track on whether the RNG has problems. */ static volatile int rng_failed; |