summaryrefslogtreecommitdiffstats
path: root/src/cgal-1-fixes.patch
blob: f2a9b2a2d5e445f965048c65d6048649d82b2630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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