aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 944eb037a..2b76f8d9d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,7 +70,7 @@ typedef struct _Options {
/*
* from git-1.3.0, needed for solaris
*/
-#ifndef setenv
+#ifndef HAVE_SETENV
int setenv(const char *name, const char *value, int replace)
{
int out;
@@ -103,7 +103,7 @@ int setenv(const char *name, const char *value, int replace)
return out;
}
-#endif
+#endif /* HAVE_SETENV */
void usage(char * argv[]) {
ERROR("usage:\n");