/* This file is ALSO:
* Copyright 2001-2004 David Abrahams.
* Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or copy at
- * http://www.boost.org/LICENSE_1_0.txt)
+ * (See accompanying file LICENSE.txt or copy at
+ * https://www.bfgroup.xyz/b2/LICENSE.txt)
*/
/*
#define SPLITPATH ';'
#define MAXLINE (undefined__see_execnt_c) /* max chars per command line */
#define USE_EXECNT
+#define USE_PATHNT
#define PATH_DELIM '\\'
/* AS400 cross-compile from NT. */
#define SPLITPATH ';'
#define MAXLINE 996 /* max chars per command line */
#define USE_EXECUNIX
+#define USE_PATHNT
#define PATH_DELIM '\\'
#endif /* #ifdef MINGW */
#define OSMAJOR "UNIX=true"
#define USE_EXECUNIX
#define USE_FILEUNIX
+#define USE_PATHUNIX
#define PATH_DELIM '/'
#ifdef _AIX
#define OSMINOR "OS=DGUX"
#define OS_DGUX
#endif
+#ifdef __GNU__
+ #define OSMINOR "OS=HURD"
+ #define OS_HURD
+#endif
#ifdef __hpux
#define OSMINOR "OS=HPUX"
#define OS_HPUX
#ifdef __OpenBSD__
#define OSMINOR "OS=OPENBSD"
#define OS_OPENBSD
- #define unix
+ #ifndef unix
+ #define unix
+ #endif
#endif
#if defined (__FreeBSD_kernel__) && !defined(__FreeBSD__)
#define OSMINOR "OS=KFREEBSD"
#endif
#ifdef __mips__
- #if defined(_ABI64)
+ #if _MIPS_SIM == _MIPS_SIM_ABI64
#define OSPLAT "OSPLAT=MIPS64"
- #elif defined(_ABIO32)
+ #elif _MIPS_SIM == _MIPS_SIM_ABI32
#define OSPLAT "OSPLAT=MIPS32"
#endif
#endif