mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
crypt.c: fix syntax error on mswin
* missing/crypt.c (constdatablock): fix error on mswin. Visual C does not accept an empty initializer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
55cc1c618a
commit
9334bb3075
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ STATIC void init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], unsigned char p[
|
||||||
#define init_des() ((void)0)
|
#define init_des() ((void)0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const C_block constdatablock = {}; /* encryption constant */
|
static const C_block constdatablock = {{0}}; /* encryption constant */
|
||||||
|
|
||||||
#define KS (data->KS)
|
#define KS (data->KS)
|
||||||
#define cryptresult (data->cryptresult)
|
#define cryptresult (data->cryptresult)
|
||||||
|
|
Loading…
Reference in a new issue