diff options
Diffstat (limited to 'random')
-rw-r--r-- | random/random-csprng.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/random/random-csprng.c b/random/random-csprng.c index c0792af5..1d2e5191 100644 --- a/random/random-csprng.c +++ b/random/random-csprng.c @@ -682,7 +682,9 @@ _gcry_rngcsprng_set_seed_file (const char *name) static int lock_seed_file (int fd, const char *fname, int for_write) { +#ifdef __GCC__ #warning Check whether we can lock on Windows. +#endif #if LOCK_SEED_FILE struct flock lck; struct timeval tv; |