summaryrefslogtreecommitdiff
path: root/graphics/asymptote/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/main.cc')
-rw-r--r--graphics/asymptote/main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/asymptote/main.cc b/graphics/asymptote/main.cc
index 46af145910..486e84ef78 100644
--- a/graphics/asymptote/main.cc
+++ b/graphics/asymptote/main.cc
@@ -72,7 +72,7 @@ int sigsegv_handler (void *, int emergency)
{
if(!emergency) return 0; // Really a stack overflow
em.runtime(vm::getPos());
-#ifdef HAVE_LIBGL
+#ifdef HAVE_GL
if(gl::glthread)
cerr << "Stack overflow or segmentation fault: rerun with -nothreads"
<< endl;
@@ -177,7 +177,7 @@ void *asymain(void *A)
int status;
while(wait(&status) > 0);
}
-#ifdef HAVE_LIBGL
+#ifdef HAVE_GL
#ifdef HAVE_PTHREAD
if(gl::glthread && !getSetting<bool>("offscreen")) {
pthread_kill(gl::mainthread,SIGURG);
@@ -208,7 +208,7 @@ int main(int argc, char *argv[])
}
Args args(argc,argv);
-#ifdef HAVE_LIBGL
+#ifdef HAVE_GL
#ifdef __APPLE__
bool usethreads=true;
#else