openbsd-ports/devel/fox/patches/patch-include_fxdefs_h
espie 1acbae9ab6 minor tweaks:
- fix includes, since we have float math functions.
- use system libtool
2005-05-07 12:59:13 +00:00

15 lines
473 B
Plaintext

$OpenBSD: patch-include_fxdefs_h,v 1.1 2005/05/07 12:59:13 espie Exp $
--- include/fxdefs.h.orig Sat May 7 14:36:10 2005
+++ include/fxdefs.h Sat May 7 14:36:54 2005
@@ -601,6 +601,10 @@ typedef tagMSG FXRawEven
* Define FLOAT_MATH_FUNCTIONS if these functions are available in some other
* library you're linking to.
*/
+#ifdef __OpenBSD__
+#define FLOAT_MATH_FUNCTIONS
+#endif
+
#ifndef FLOAT_MATH_FUNCTIONS
#ifndef __USE_ISOC99
#ifndef __APPLE__