7e14529975
linkage maps of markers segregating in experimental crosses. MAPMAKER/EXP performs full multipoint linkage analysis (simultaneous estimation of all recombination fractions from the primary data) for dominant, recessive, and co- dominant (e.g. RFLP-like) markers. MAPMAKER/EXP is an experimental-cross-only successor to the original MAPMAKER program. MAPMAKER/QTL is a companion program to MAPMAKER/EXP which allows one to map genes controlling polygenic quantitative traits in F2 intercrosses and BC1 backcrosses relative to a genetic linkage map. More information on MAPMAKER/QTL can be found in the technical report (included with MAPMAKER/QTL). WWW: http://www.broad.mit.edu/ftp/distribution/software/mapmaker3/ PR: ports/122452 Submitted by: Tassilo Philipp <tphilipp at potion-studios.com>
71 lines
1.9 KiB
C
71 lines
1.9 KiB
C
--- lib/system.h.orig 2008-04-04 20:05:29.000000000 +0000
|
|
+++ lib/system.h 2008-03-27 20:49:34.000000000 +0000
|
|
@@ -43,6 +43,7 @@
|
|
_SYS_OSF Specifics for OSF/1 for DEC Alpha (like, if it ever ships)
|
|
_SYS_AIX Specifics for the inferior but marketable AIX (RISC or other?)
|
|
_SYS_HPUX Specifics for HP-UX (8.x?) for HP 9000/700 series.
|
|
+ _SYS_BSD Specifics for modern BSD systems (tested on FreeBSD 6.3)
|
|
_SYS_UNIX Basic Unix semantics, defined if any one of the above is
|
|
|
|
_SYS_WATCOM Specifics for WATCOM C/386 9.0 with apropriate libraries
|
|
@@ -86,6 +87,11 @@
|
|
#else
|
|
#ifdef _SYS_AUX
|
|
#define _SYS_UNIX /* Note: NOT _SYS_MAC */
|
|
+#else
|
|
+#ifdef _SYS_BSD
|
|
+#define _SYS_UNIX
|
|
+#else
|
|
+#endif
|
|
#endif
|
|
#endif
|
|
#endif
|
|
@@ -191,6 +197,9 @@
|
|
#ifdef _SYS_ULTRIX
|
|
#define SIGHANDLE void
|
|
#endif
|
|
+#ifdef _SYS_BSD
|
|
+#define SIGHANDLE void
|
|
+#endif
|
|
|
|
|
|
|
|
@@ -210,10 +219,14 @@
|
|
#ifdef _SYS_ULTRIX
|
|
#define USE_RANDOM
|
|
#else
|
|
+#ifdef _SYS_BSD
|
|
+#define USE_DRAND48 /* bsd has 'random' */
|
|
+#else
|
|
#define USE_SRAND
|
|
#endif
|
|
#endif
|
|
#endif
|
|
+#endif
|
|
|
|
|
|
/***************************** C-Library **************************************
|
|
@@ -282,6 +295,14 @@
|
|
#define QSORT_LENGTH int /* actually width is an int, not a unsigned */
|
|
#endif
|
|
|
|
+#ifdef _SYS_BSD /* modern BSD systems (tested on FreeBSD 6.3) */
|
|
+#define CALLOC_PTR_TO char
|
|
+#define CALLOC_NUM_TYPE size_t /* unsigned in man page is wrong? */
|
|
+#define SIZEOF_TYPE size_t
|
|
+#define QSORT_DATA_PTR_TO char
|
|
+#define QSORT_LENGTH int /* actually width is an int, not a unsigned */
|
|
+#endif
|
|
+
|
|
#ifdef _SYS_AUX /* just like ULTRIX? */
|
|
#define CALLOC_PTR_TO char
|
|
#define CALLOC_NUM_TYPE size_t /* unsigned in man page is wrong? */
|
|
@@ -583,7 +604,7 @@
|
|
#include <signal.h>
|
|
#include <errno.h>
|
|
#include <time.h> /* for ctime() def - Who does not have this file? */
|
|
-#include <malloc.h>
|
|
+#include <stdlib.h>
|
|
#include <sys/types.h>
|
|
|
|
#ifdef TRY_WINSIZE
|