mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Fix build on -CURRENT
Submitted by: das
This commit is contained in:
parent
888fa8e198
commit
938162ed30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112762
16
science/vis5d+/files/patch-src::misc.h
Normal file
16
science/vis5d+/files/patch-src::misc.h
Normal file
@ -0,0 +1,16 @@
|
||||
--- src/misc.h.orig Sat Jun 19 01:20:20 2004
|
||||
+++ src/misc.h Sat Jun 19 01:28:26 2004
|
||||
@@ -37,6 +37,13 @@
|
||||
|
||||
extern void die( char *msg );
|
||||
|
||||
+/*
|
||||
+ * XXX Nasty hack to work around a namespace conflict on the round(3)
|
||||
+ * function. This is legal as long as all sources that include this
|
||||
+ * header as well as <math.h> include <math.h> first.
|
||||
+ */
|
||||
+#undef round
|
||||
+#define round myround
|
||||
extern float round( float x );
|
||||
|
||||
extern int which( char *file, char *fullpath );
|
Loading…
Reference in New Issue
Block a user