git-svn-id: https://svn.dealii.org/branches/releases/Branch-7-0@23167
0785d39b-7218-0410-832d-
ea1e28bc413d
#pragma managed(pop)
#endif
-#elif __linux__ || __FreeBSD__
+#elif __linux__ || __NetBSD__ || __FreeBSD__
#if __i386__
#include "machine/linux_ia32.h"
#define RML_SERVER_NAME "libirml" DEBUG_SUFFIX ".dylib"
#elif __linux__
#define RML_SERVER_NAME "libirml" DEBUG_SUFFIX ".so.1"
-#elif __FreeBSD__ || __sun || _AIX
+#elif __NetBSD__ || __FreeBSD__ || __sun || _AIX
#define RML_SERVER_NAME "libirml" DEBUG_SUFFIX ".so"
#else
#error Unknown OS
#define MALLOCLIB_NAME "libtbbmalloc" DEBUG_SUFFIX ".dylib"
#elif __linux__
#define MALLOCLIB_NAME "libtbbmalloc" DEBUG_SUFFIX __TBB_STRING(.so.TBB_COMPATIBLE_INTERFACE_VERSION)
-#elif __FreeBSD__ || __sun || _AIX
+#elif __NetBSD__ || __FreeBSD__ || __sun || _AIX
#define MALLOCLIB_NAME "libtbbmalloc" DEBUG_SUFFIX ".so"
#else
#error Unknown OS
#include <malloc.h> /* alloca */
#else
#include <dlfcn.h>
-#if __FreeBSD__
+#if __NetBSD__ || __FreeBSD__
#include <stdlib.h> /* alloca */
#else
#include <alloca.h>
#elif defined(__sun)
#include <sys/sysinfo.h>
#include <unistd.h>
-#elif defined(__FreeBSD__) || defined(_AIX)
+#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(_AIX)
#include <unistd.h>
#endif
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams