aboutsummaryrefslogtreecommitdiff
path: root/src/user.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2011-05-02 20:13:14 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2011-05-02 20:13:14 -0400
commit91af8f14863a516ff9aa80b703d8a34583e6e107 (patch)
tree552390f62fd0a060625a65f53006378c2a3eb2c3 /src/user.c
parent2fb05c7c4516d1ae3f0ad46df50043bbaa17ccb7 (diff)
parent647e4ca02ad06939dea2e6b1dcf71ee510867cd4 (diff)
downloadduser-91af8f14863a516ff9aa80b703d8a34583e6e107.tar.gz
Merge pull request #4 from extrarius/master.
Additional Cleaning
Diffstat (limited to 'src/user.c')
-rw-r--r--src/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user.c b/src/user.c
index f9b24a8..3ff49b4 100644
--- a/src/user.c
+++ b/src/user.c
@@ -316,7 +316,7 @@ int get_file_count(const char* path)
while((ep = readdir(dp)))
{
-#ifdef __NSOLARIS__
+#ifdef HAVE_SOLARIS
char path[PATH_MAX];
struct stat st;
snprintf(path, PATH_MAX, "%s%s", list_path, ep->d_name);
@@ -372,7 +372,7 @@ char** get_file_list(const char* path, int count)
}
while((ep = readdir(dp)))
{
-#ifdef __NSOLARIS__
+#ifdef HAVE_SOLARIS
char path[PATH_MAX];
struct stat st;
snprintf(path, PATH_MAX, "%s%s", list_path, ep->d_name);