diff --git a/nc_test4/tst_udf.c b/nc_test4/tst_udf.c index 4cac94410..b2f43bc47 100644 --- a/nc_test4/tst_udf.c +++ b/nc_test4/tst_udf.c @@ -15,13 +15,13 @@ #define FILE_NAME "tst_udf.nc" -/* #ifndef LOGGING */ -/* int */ -/* NC4_show_metadata(int ncid) */ -/* { */ -/* return 0; */ -/* } */ -/* #endif */ +#if defined(_WIN32) || defined(_WIN64) +int +NC4_show_metadata(int ncid) +{ + return 0; +} +#endif int tst_open(const char *path, int mode, int basepe, size_t *chunksizehintp,