summaryrefslogtreecommitdiffstats
path: root/tools/perform
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-03-21 16:36:23 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-03-21 16:36:23 (GMT)
commit7f641b520d13fa0dfd14baa067d165af0bd8d463 (patch)
treec9e83bdf72df201cd0aeec2f4458cee4a6386784 /tools/perform
parent9c570c7b4227fce7fdfbb2dba20fb8e9290b5e26 (diff)
downloadhdf5-7f641b520d13fa0dfd14baa067d165af0bd8d463.zip
hdf5-7f641b520d13fa0dfd14baa067d165af0bd8d463.tar.gz
hdf5-7f641b520d13fa0dfd14baa067d165af0bd8d463.tar.bz2
[svn-r29482] Switched a few Visual Studio #ifdefs to Win32
Tested on 64-bit Win10 w/ VS 2015 Pro
Diffstat (limited to 'tools/perform')
-rw-r--r--tools/perform/sio_standalone.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/perform/sio_standalone.h b/tools/perform/sio_standalone.h
index 547a9ee..258eafb 100644
--- a/tools/perform/sio_standalone.h
+++ b/tools/perform/sio_standalone.h
@@ -210,11 +210,11 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...);
#define HDgetgrgid(G) getgrgid(G)
#define HDgetgrnam(S) getgrnam(S)
#define HDgetgroups(Z,G) getgroups(Z,G)
-#ifdef H5_HAVE_VISUAL_STUDIO
+#ifdef H5_HAVE_WIN32_API
#define HDgetlogin() Wgetlogin()
-#else /* H5_HAVE_VISUAL_STUDIO */
+#else /* H5_HAVE_WIN32_API */
#define HDgetlogin() getlogin()
-#endif /* H5_HAVE_VISUAL_STUDIO */
+#endif /* H5_HAVE_WIN32_API */
#define HDgetpgrp() getpgrp()
#define HDgetpid() getpid()
#define HDgetppid() getppid()
@@ -222,12 +222,12 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...);
#define HDgetpwuid(U) getpwuid(U)
#define HDgetrusage(X,S) getrusage(X,S)
#define HDgets(S) gets(S)
-#ifdef H5_HAVE_VISUAL_STUDIO
+#ifdef H5_HAVE_WIN32_API
H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz);
#define HDgettimeofday(V,Z) Wgettimeofday(V,Z)
-#else /* H5_HAVE_VISUAL_STUDIO */
+#else /* H5_HAVE_WIN32_API */
#define HDgettimeofday(S,P) gettimeofday(S,P)
-#endif /* H5_HAVE_VISUAL_STUDIO */
+#endif /* H5_HAVE_WIN32_API */
#define HDgetuid() getuid()
#define HDgmtime(T) gmtime(T)
#define HDisalnum(C) isalnum((int)(C)) /*cast for solaris warning*/