From 61e770925f0a67857328032bae2c9333e6d29503 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 15 Mar 2017 14:26:36 +0000 Subject: [PATCH] ECC-444: eccodes fails to build when both fmemopen and funopen are available --- memfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memfs.py b/memfs.py index 44f51e9a8..8990bdd15 100755 --- a/memfs.py +++ b/memfs.py @@ -84,7 +84,7 @@ for k, v in sorted(items): print("""}; -#ifdef EC_HAVE_FUNOPEN +#if defined(EC_HAVE_FUNOPEN) && !defined(EC_HAVE_FMEMOPEN) typedef struct mem_file { const char* buffer;