summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r--cpp/src/IcePatch/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Util.cpp b/cpp/src/IcePatch/Util.cpp
index 691fb7c1ad4..48c036586ed 100644
--- a/cpp/src/IcePatch/Util.cpp
+++ b/cpp/src/IcePatch/Util.cpp
@@ -44,7 +44,7 @@
//
// Sun-OS doesn't have scandir() or alphasort().
//
-#ifdef SUNOS
+#ifdef __sun
static int
scandir(const char* dir, struct dirent*** namelist,