diff options
Diffstat (limited to 'Build/source/utils/asymptote/main.cc')
-rw-r--r-- | Build/source/utils/asymptote/main.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/main.cc b/Build/source/utils/asymptote/main.cc index 003ea5670fc..b17d4583564 100644 --- a/Build/source/utils/asymptote/main.cc +++ b/Build/source/utils/asymptote/main.cc @@ -27,6 +27,10 @@ #include "common.h" +#ifdef __CYGWIN__ +#define NOMINMAX +#endif + #ifdef HAVE_LIBSIGSEGV #include <sigsegv.h> #endif @@ -61,7 +65,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; @@ -169,7 +173,7 @@ int main(int argc, char *argv[]) } Args args(argc,argv); -#ifdef HAVE_LIBGL +#ifdef HAVE_GL gl::glthread=getSetting<bool>("threads"); #ifdef HAVE_LIBPTHREAD |