[svn-r18757] Enable tools lib to be built as a dll on windows. Added two get/set functions for progname and d_status.

Also add windows import/export declarations to functions.
Updated windows - H5pubconf.h for packed bits function

Tested:
   Windows, linux
This commit is contained in:
Allen Byrne
2010-05-11 12:49:41 -05:00
parent 9e595dec19
commit 05d75af8b8
37 changed files with 604 additions and 501 deletions

View File

@@ -20,6 +20,9 @@
#include "h5diff_common.h"
#include "h5tools_utils.h"
/* Name of tool */
#define PROGRAMNAME "h5diff"
/*-------------------------------------------------------------------------
* Function: main
*
@@ -68,9 +71,6 @@
*/
/* module-scoped variables */
int d_status = EXIT_SUCCESS;
int main(int argc, const char *argv[])
{
int ret;
@@ -81,6 +81,8 @@ int main(int argc, const char *argv[])
hsize_t nfound=0;
diff_opt_t options;
h5tools_setprogname(PROGRAMNAME);
h5tools_setstatus(EXIT_SUCCESS);
/*-------------------------------------------------------------------------
* process the command-line
*-------------------------------------------------------------------------