diff options
Diffstat (limited to 'random/random-csprng.c')
-rw-r--r-- | random/random-csprng.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/random/random-csprng.c b/random/random-csprng.c index aca977e8..fbc4230e 100644 --- a/random/random-csprng.c +++ b/random/random-csprng.c @@ -682,6 +682,7 @@ _gcry_rngcsprng_set_seed_file (const char *name) static int lock_seed_file (int fd, const char *fname, int for_write) { +#warning Check whether we can lock on Windows. #if LOCK_SEED_FILE struct flock lck; struct timeval tv; @@ -709,7 +710,7 @@ lock_seed_file (int fd, const char *fname, int for_write) if (backoff < 10) backoff++ ; } -#endif /*LOCK_SEED_FILE*/ +#endif /*!LOCK_SEED_FILE*/ return 0; } |