1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/lang/racket/files/patch-racket_include_scheme.h
Jimmy Olgeni 8366f4f595 - Upgrade Racket to version 5.92.
- Unbreak on FreeBSD 10.
- racket-textual is renamed to racket-minimal upstream.
- Fix COMMENT.
2014-01-27 12:37:06 +00:00

19 lines
400 B
C

$FreeBSD$
--- racket/include/scheme.h.orig
+++ racket/include/scheme.h
@@ -63,10 +63,12 @@
# define MZ_USE_SINGLE_FLOATS
#endif
+#if (__FreeBSD_version >= 1000100)
/* gcc defines __SSE_MATH__ when SSE floating point is enabled: */
#ifdef __SSE_MATH__
# define C_COMPILER_USES_SSE 1
#endif
+#endif
#ifdef C_COMPILER_USES_SSE
# if defined(MZ_TRY_EXTFLONUMS) && !defined(MZ_NO_EXTFLONUMS)