htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit dcf0b26bbcfbaa212c752c155915a98d8e7d554a
parent 4ef95f5f91d9a3eedfdd7ce086340760af02d586
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 10 Jan 2019 15:37:22 +0100

Fix compilation with glibc < 2.19

Diffstat:
Msrc/htrdr_grid.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/htrdr_grid.c b/src/htrdr_grid.c @@ -15,6 +15,7 @@ #define _POSIX_C_SOURCE 200809L /* mmap support */ #define _DEFAULT_SOURCE 1 /* MAP_POPULATE support */ +#define _BSD_SOURCE 1 /* MAP_POPULATE for glibc < 2.19 */ #include "htrdr.h" #include "htrdr_c.h"