Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36515e4

Browse files
committed
Fix compiler warning
Fix a warning about unused variable on Windows when using OpenSSL.
1 parent756349c commit36515e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/pg_strong_random.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
#ifdefUSE_OPENSSL
2828
#include<openssl/rand.h>
2929
#endif
30-
#ifdefWIN32
30+
#ifdefUSE_WIN32_RANDOM
3131
#include<wincrypt.h>
3232
#endif
3333

34-
#ifdefWIN32
34+
#ifdefUSE_WIN32_RANDOM
3535
/*
3636
* Cache a global crypto provider that only gets freed when the process
3737
* exits, in case we need random numbers more than once.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp