mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
995bec14f3
Detailed log: - Introduction of new features, see http://www.dhondt.de/new_calc.htm https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222914 PR: 222914 Submitted by: pfg (maintainer)
29 lines
668 B
C
29 lines
668 B
C
--- CalculiX.h.orig 2017-10-08 20:06:28 UTC
|
|
+++ CalculiX.h
|
|
@@ -15,12 +15,14 @@
|
|
/* along with this program; if not, write to the Free Software */
|
|
/* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
-#define Linux 1
|
|
+#include <pthread.h>
|
|
+
|
|
+#define FreeBSD 1
|
|
#define IRIX 2
|
|
#define IRIX64 3
|
|
#define HP 4
|
|
|
|
-#if ARCH == Linux
|
|
+#if ARCH == FreeBSD
|
|
#define FORTRAN(A,B) A##_ B
|
|
#elif ARCH == IRIX || ARCH == IRIX64
|
|
#define FORTRAN(A,B) A##_##B
|
|
@@ -28,7 +30,7 @@
|
|
#define FORTRAN(A,B) A##B
|
|
#endif
|
|
|
|
-#if ARCH == Linux
|
|
+#if ARCH == FreeBSD
|
|
#define CEE(A,B) A##_ B
|
|
#elif ARCH == IRIX || ARCH == IRIX64
|
|
#define CEE(A,B) A##_##B
|