diff options
author | Werner Koch <wk@gnupg.org> | 2012-06-21 11:09:06 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-06-21 11:09:06 +0200 |
commit | 20e423212c9710ee663e12dd0f62580ceb245a6f (patch) | |
tree | 669ae2fef8015957a58d7bdfda2071721a39ad23 /random | |
parent | baf0dc7e9c26167ab43ba2adebcf2f1abc9d9b3b (diff) | |
download | libgcrypt-20e423212c9710ee663e12dd0f62580ceb245a6f.tar.gz |
Beautify last change.
* cipher/rijndael.c: Replace C99 feature from last patch. Keep cpp
lines short.
* random/rndhw.c: Keep cpp lines short.
* src/hwfeatures.c (_gcry_detect_hw_features): Make cpp def chain
better readable.
Diffstat (limited to 'random')
-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; |