Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
6e2ec0c0
Commit
6e2ec0c0
authored
Oct 18, 2016
by
Uwe Schulzweida
Browse files
Added ifdef HAVE_LIBNETCDF.
parent
87e021f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdf_lazy_grid.c
View file @
6e2ec0c0
#if defined (HAVE_CONFIG_H)
#include
"config.h"
#endif
#include
"stream_cdf.h"
#include
"cdf_lazy_grid.h"
...
...
@@ -24,6 +28,8 @@ static bool cdfLazyInitialized;
#endif
#ifdef HAVE_LIBNETCDF
void
cdfLazyGridDestroy
(
struct
cdfLazyGrid
*
lazyGrid
)
{
if
(
lazyGrid
->
base
.
area
==
cdfPendingLoad
)
lazyGrid
->
base
.
area
=
NULL
;
...
...
@@ -515,6 +521,9 @@ void cdfBaseGridRenew(struct cdfLazyGrid *restrict *restrict gridpptr, int gridt
*
gridpptr
=
grid
=
(
struct
cdfLazyGrid
*
)
Malloc
(
sizeof
(
grid_t
));
cdfBaseGridInit
((
grid_t
*
)
grid
,
gridtype
);
}
#endif
/*
* Local Variables:
* c-file-style: "Java"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment