fix for linux

This commit is contained in:
danj 2006-05-15 21:22:43 +00:00
parent fd336dd767
commit bd0e63aa7c

8
bdb.h
View file

@ -9,6 +9,14 @@
#define NOTXN NULL #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 FNLEN 40
#define filename_copy(fp,fv) \ #define filename_copy(fp,fv) \