Merge branch 'bp/mediawiki-credential'
[gitweb.git] / test-chmtime.c
index 94903c4bff1ea7fa8818032b5fd310c98007eee3..923bf327f8ac8243c59292879a60e1f7364b6070 100644 (file)
@@ -87,7 +87,7 @@ int main(int argc, 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",