457045 solaris compile fix for DRBG r=bob
git-svn-id: svn://10.0.0.236/trunk@256211 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4d45df1688
commit
08d84ee700
@ -1166,10 +1166,10 @@ int ReadOneFile(int fileToRead)
|
||||
#ifdef SOLARIS
|
||||
/* grumble, Solaris does not define struc dirent to be the full length */
|
||||
typedef union {
|
||||
unsigned char space[sizeof dirent + NAXNAMELEN];
|
||||
unsigned char space[sizeof(struct dirent) + MAXNAMELEN];
|
||||
struct dirent dir;
|
||||
} dirent_hack;
|
||||
dirent_hach entry, firstEntry;
|
||||
dirent_hack entry, firstEntry;
|
||||
#define entry_dir entry.dir
|
||||
#define NAME_MAX MAXNAMELEN
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user