summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-11 15:58:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-11 15:58:12 (GMT)
commit04223a18f42f806646f8bb4a0ebfd819779d4ed4 (patch)
tree3a0321cb258b700639dd5486766585fc247001a8 /tools/h5ls.c
parent47bef3253073160b2eddecf0fc7da00e142d7d52 (diff)
downloadhdf5-04223a18f42f806646f8bb4a0ebfd819779d4ed4.zip
hdf5-04223a18f42f806646f8bb4a0ebfd819779d4ed4.tar.gz
hdf5-04223a18f42f806646f8bb4a0ebfd819779d4ed4.tar.bz2
[svn-r2866] Purpose:
Code cleanup Description: Found more "Have_foo" usage and converted them to "H5_HAVE_foo" Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index fcd22bd..cfeba7a 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1849,35 +1849,35 @@ get_width(void)
width = (int)strtol(s, NULL, 0);
}
-#if defined(HAVE_STRUCT_VIDEOCONFIG) && defined(HAVE__GETVIDEOCONFIG)
+#if defined(H5_HAVE_STRUCT_VIDEOCONFIG) && defined(H5_HAVE__GETVIDEOCONFIG)
{
/* Microsoft C */
struct videoconfig w;
_getvideoconfig(&w);
width = w.numtextcols;
}
-#elif defined(HAVE_STRUCT_TEXT_INFO) && defined(HAVE_GETTEXTINFO)
+#elif defined(H5_HAVE_STRUCT_TEXT_INFO) && defined(H5_HAVE_GETTEXTINFO)
{
/* Borland C or DJGPPC */
struct text_info w;
gettextinfo(&w);
width = w.screenwidth;
}
-#elif defined(HAVE_GETCONSOLESCREENBUFFERINFO)
+#elif defined(H5_HAVE_GETCONSOLESCREENBUFFERINFO)
{
/* Win32 C */
CONSOLE_SCREEN_BUFFER_INFO scr;
GetConsoleScreenBufferInfo(con_out, &scr);
width = scr.srWindow.Right - scr.srWindow.Left + 1;
}
-#elif defined(HAVE__SCRSIZE)
+#elif defined(H5_HAVE__SCRSIZE)
{
/* OS/2 */
int w[2];
_scrsize(w);
width = w[0];
}
-#elif defined(HAVE_TIOCGWINSZ) && defined(HAVE_IOCTL)
+#elif defined(H5_HAVE_TIOCGWINSZ) && defined(H5_HAVE_IOCTL)
{
/* Unix with ioctl(TIOCGWINSZ) */
struct winsize w;
@@ -1885,7 +1885,7 @@ get_width(void)
width = w.ws_col;
}
}
-#elif defined(HAVE_TIOCGETD) && defined(HAVE_IOCTL)
+#elif defined(H5_HAVE_TIOCGETD) && defined(H5_HAVE_IOCTL)
{
/* Unix with ioctl(TIOCGETD) */
struct uwdata w;