summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/common.h')
-rw-r--r--Build/source/utils/asymptote/common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/common.h b/Build/source/utils/asymptote/common.h
index d9b26a24e3f..5d41285f79e 100644
--- a/Build/source/utils/asymptote/common.h
+++ b/Build/source/utils/asymptote/common.h
@@ -7,6 +7,8 @@
#ifndef COMMON_H
#define COMMON_H
+#undef NDEBUG
+
#include <iostream>
#include <climits>
@@ -21,12 +23,12 @@
#include "config.h"
#endif
-#if defined(HAVE_LIBGLU) && \
+#if !defined(FOR_SHARED) && defined(HAVE_LIBGLU) && \
((defined(HAVE_LIBGL) && defined(HAVE_LIBGLUT)) || defined(HAVE_LIBOSMESA))
#define HAVE_GL
#endif
-#ifdef HAVE_LIBPTHREAD
+#ifdef HAVE_PTHREAD
#include <pthread.h>
#endif