Skip to content
Snippets Groups Projects
Commit 70e614f2 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

compile filetypeIsNetCDF() if HAVE_LIBNETCDF.

parent 37fae0cd
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
#include "cdi_int.h"
#include "stream_cdf.h"
#ifdef HAVE_LIBNETCDF
static inline bool
filetypeIsNetCDF(int filetype)
{
......@@ -16,7 +17,7 @@ filetypeIsNetCDF(int filetype)
|| filetype == CDI_FILETYPE_NC4
|| filetype == CDI_FILETYPE_NC4C;
}
#endif
void streamDefHistory(int streamID, int length, const char *history)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment