summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_elink_unix2win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_elink_unix2win.c b/examples/h5_elink_unix2win.c
index abf7512..f9a7fca 100644
--- a/examples/h5_elink_unix2win.c
+++ b/examples/h5_elink_unix2win.c
@@ -142,7 +142,7 @@ unix2win_example(void)
hid_t gid = (-1); /* Group ID */
/* Create the target file. */
-#ifdef WIN32
+#ifdef _WIN32
if((fid=H5Fcreate("u2w\\u2w_target.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT))<0) goto error;
#else
if((fid=H5Fcreate("u2w/u2w_target.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT))<0) goto error;
@@ -161,7 +161,7 @@ unix2win_example(void)
* that external links can be traversed.
*/
-#ifdef WIN32
+#ifdef _WIN32
/* Register the elink_unix2win class defined above to replace default
* external links
*/