You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/cgal-1-fixes.patch

28 lines
668 B

This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
From 211217324f551479c15cdf77bac6c397112f3b3d Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Subject: [PATCH] Fix GCC detection
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
diff --git a/include/CGAL/sse2.h b/include/CGAL/sse2.h
index acc7ece..3e8394d 100644
--- a/include/CGAL/sse2.h
+++ b/include/CGAL/sse2.h
@@ -29,7 +29,7 @@
#if defined ( _MSC_VER )
#define CGAL_ALIGN_16 __declspec(align(16))
-#elif defined( __GNU__ )
+#elif defined( __GNUC__ )
#define CGAL_ALIGN_16 __attribute__((aligned(16)))
#endif
--
1.9.1