diff options
Diffstat (limited to 'test-chmtime.c')
-rw-r--r-- | test-chmtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-chmtime.c b/test-chmtime.c index 2e601a803..0df748784 100644 --- a/test-chmtime.c +++ b/test-chmtime.c @@ -56,7 +56,7 @@ static int timespec_arg(const char *arg, long int *set_time, int *set_eq) return 1; } -int main(int argc, const char *argv[]) +int main(int argc, char *argv[]) { static int verbose; @@ -87,7 +87,7 @@ int main(int argc, const char *argv[]) return 1; } -#ifdef WIN32 +#ifdef GIT_WINDOWS_NATIVE if (!(sb.st_mode & S_IWUSR) && chmod(argv[i], sb.st_mode | S_IWUSR)) { fprintf(stderr, "Could not make user-writable %s: %s", |