summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/common.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
committerKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
commitdddce3148a2bc785603576b18ffcf72d39adbe47 (patch)
tree14f4c79ef11bcf0820a8d4ff2ab0c5ac009c365c /Build/source/utils/asymptote/common.h
parenta01e51b01f5819b6091af48cdca581e9f2a9282e (diff)
asy 1.93
git-svn-id: svn://tug.org/texlive/trunk@17934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/common.h')
-rw-r--r--Build/source/utils/asymptote/common.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/common.h b/Build/source/utils/asymptote/common.h
index 347e7cd1b8d..16b9d57d567 100644
--- a/Build/source/utils/asymptote/common.h
+++ b/Build/source/utils/asymptote/common.h
@@ -10,12 +10,19 @@
#include <iostream>
#include <climits>
+#ifdef __CYGWIN__
+#undef LONG_LONG_MAX
+#define LONG_LONG_MAX __LONG_LONG_MAX__
+#undef LONG_LONG_MIN
+#define LONG_LONG_MIN (-LONG_LONG_MAX-1)
+#endif
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#if defined(HAVE_LIBGLU) && defined(HAVE_LIBGLUT)
-#define HAVE_LIBGL
+#if defined(HAVE_LIBGL) && defined(HAVE_LIBGLU) && defined(HAVE_LIBGLUT)
+#define HAVE_GL
#endif
#ifdef HAVE_LIBPTHREAD