Generify source code
Previously we would fail in some parts of the code if we did not have a premade configuration, now we use any code that was marked as Linux, BSD and Solaris as our basis in order to support building unknown Unix systems.
This commit is contained in:
@@ -86,7 +86,6 @@
|
||||
# define __SVR4_I386_ABI_L1__
|
||||
#endif
|
||||
#include <limits.h> /* pickup WORD_BIT, LONG_BIT */
|
||||
#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
|
||||
# undef __SVR4_I386_ABI_L1__
|
||||
# ifndef WORD_BIT
|
||||
# define WORD_BIT 32
|
||||
@@ -94,7 +93,6 @@
|
||||
# ifndef LONG_BIT
|
||||
# define LONG_BIT 32
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define db_VERSION "3.dt" /* was "3.10" */
|
||||
#define dbd_VERSION "V3.dt\032" /* was "V3.00\032" */
|
||||
|
||||
@@ -52,9 +52,7 @@ extern "C" {
|
||||
** System V R4 based systems define the stuff we need in
|
||||
** sys/types.h. Include that and then we are done.
|
||||
*/
|
||||
#if defined(__linux__) || defined(SunOS) || defined(CSRG_BASED)
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
#if defined(CSRG_BASED) || defined(__linux__)
|
||||
# include <sys/socket.h>
|
||||
|
||||
Reference in New Issue
Block a user