summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-22 20:54:44 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-22 20:54:44 +0000
commit63c0b655bb486661248f75e548b22d5624d83cb0 (patch)
tree702054757fc53df9bfb3de1f4369713ff1c90797
parentc33c7ff0b85c02633890a9548a18402247cf6e82 (diff)
Updated ifdef to be __hpux instead of hpux...
git-svn-id: file:///fltk/svn/fltk/trunk@312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/filename_list.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filename_list.cxx b/src/filename_list.cxx
index 6d6d90e1b..d9412de57 100644
--- a/src/filename_list.cxx
+++ b/src/filename_list.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: filename_list.cxx,v 1.9 1999/02/19 13:07:40 mike Exp $"
+// "$Id: filename_list.cxx,v 1.10 1999/02/22 20:54:44 mike Exp $"
//
// Filename list routines for the Fast Light Tool Kit (FLTK).
//
@@ -45,7 +45,7 @@ int filename_list(const char *d, dirent ***list) {
// error in the prototype for the sorting function, where a level
// of pointer indirection is missing:
return scandir(d, list, 0, (int(*)(const void*,const void*))numericsort);
-#elif defined(hpux)
+#elif defined(__hpux)
// HP-UX defines the comparison function to take const pointers instead of
// ordinary ones...
return scandir(d, list, 0, (int(*)(const dirent **, const dirent **))numericsort);
@@ -55,5 +55,5 @@ int filename_list(const char *d, dirent ***list) {
}
//
-// End of "$Id: filename_list.cxx,v 1.9 1999/02/19 13:07:40 mike Exp $".
+// End of "$Id: filename_list.cxx,v 1.10 1999/02/22 20:54:44 mike Exp $".
//