diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2007-05-18 15:14:43 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2007-05-18 15:14:43 (GMT) |
commit | 87a41d4286718ebc06acf6a9021ea85b9a93f278 (patch) | |
tree | 1e1946e375f700573b5718020a16c7e117f33c76 /src/H5Eint.c | |
parent | 513c74a8da0e7bb29b727ddc1409e7e6d7902461 (diff) | |
download | hdf5-87a41d4286718ebc06acf6a9021ea85b9a93f278.zip hdf5-87a41d4286718ebc06acf6a9021ea85b9a93f278.tar.gz hdf5-87a41d4286718ebc06acf6a9021ea85b9a93f278.tar.bz2 |
[svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform.
Tested:
Visual Studio (32- and 64-bit) on Win XP
Diffstat (limited to 'src/H5Eint.c')
-rw-r--r-- | src/H5Eint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Eint.c b/src/H5Eint.c index a3568d7..168cc4d 100644 --- a/src/H5Eint.c +++ b/src/H5Eint.c @@ -266,7 +266,7 @@ H5E_walk_cb(unsigned n, const H5E_error_t *err_desc, void *client_data) fprintf(stream, "thread 0"); } /* end block */ #elif defined(H5_HAVE_THREADSAFE) -#ifdef WIN32 +#ifdef _WIN32 fprintf(stream, "some thread: no way to know the thread number from pthread on windows"); #else fprintf(stream, "thread %lu", (unsigned long)pthread_self()); @@ -385,7 +385,7 @@ H5E_walk2_cb(unsigned n, const H5E_error2_t *err_desc, void *client_data) fprintf(stream, "thread 0"); } /* end block */ #elif defined(H5_HAVE_THREADSAFE) -#ifdef WIN32 +#ifdef _WIN32 fprintf(stream, "some thread: no way to know the thread number from pthread on windows"); #else fprintf(stream, "thread %lu", (unsigned long)pthread_self()); |