fix for linux
This commit is contained in:
parent
fd336dd767
commit
bd0e63aa7c
1 changed files with 8 additions and 0 deletions
8
bdb.h
8
bdb.h
|
@ -9,6 +9,14 @@
|
|||
|
||||
#define NOTXN NULL
|
||||
|
||||
#if OPEN_MAX
|
||||
#define MAXFD OPEN_MAX
|
||||
#elif FOPEN_MAX
|
||||
#define MAXFD FOPEN_MAX
|
||||
#else
|
||||
#error "No max fd define available."
|
||||
#endif
|
||||
|
||||
#define FNLEN 40
|
||||
|
||||
#define filename_copy(fp,fv) \
|
||||
|
|
Loading…
Reference in a new issue