From 23635d656a7ebb30f082960a27174453a27e96f6 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 18 Mar 2013 15:44:02 -0500 Subject: [svn-r23368] Correct names and add includes for windows --- src/H5PL.c | 5 ++--- src/H5PLpkg.h | 2 +- src/H5PLprivate.h | 13 +++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/H5PL.c b/src/H5PL.c index b0c2291..5e1b224 100644 --- a/src/H5PL.c +++ b/src/H5PL.c @@ -286,7 +286,6 @@ H5PL_find(H5PL_type_t plugin_type, int type_id, char *dir, void **info) { char *pathname = NULL; struct dirent *dp = NULL; - struct stat my_stat; WIN32_FIND_DATA fdFile; HANDLE hFind = NULL; @@ -375,7 +374,7 @@ H5PL_open(H5PL_type_t pl_type, char *libname, int pl_id, void **pl_info) /*fprintf(stderr, "not open dl library: %s\n", H5PL_CLR_ERR);*/ HGOTO_DONE(ret_value) - H5PL_CLR_ERR; /*clear error*/ + H5PL_CLR_ERROR; /*clear error*/ /* Return a handle for the function H5PL_get_plugin_info in the dynamic library. * The plugin library is suppose to define this function. */ @@ -448,7 +447,7 @@ fprintf(stderr, "%s: H5PL_table_used_g=%d, id=%d\n", FUNC, H5PL_table_used_g, (H for(i=0; i +#endif + +#include + +#endif /*H5_HAVE_WIN32_API*/ + #ifdef H5_HAVE_DLFCN_H #include #endif -- cgit v0.12