Fossil SCM
Correct sense of _WIN32 conditional compilation
Commit
1226e3ef524c758d8ffb09523d9882fb95664cd8a9dd594621c3bca95fd67400
Parent
f42ee09a091eb9d…
1 file changed
+1
-1
+1
-1
| --- src/vfile.c | ||
| +++ src/vfile.c | ||
| @@ -210,11 +210,11 @@ | ||
| 210 | 210 | oldMtime = db_column_int64(&q, 7); |
| 211 | 211 | origSize = db_column_int64(&q, 6); |
| 212 | 212 | currentSize = file_wd_size(zName); |
| 213 | 213 | currentMtime = file_wd_mtime(0); |
| 214 | 214 | origPerm = db_column_int(&q, 8); |
| 215 | -#ifndef _WIN32 | |
| 215 | +#ifdef _WIN32 | |
| 216 | 216 | /* For Windows, if the "manifest" setting contains the "l" flag and the |
| 217 | 217 | ** "manifest.symlinks" file exists, use its contents to determine which |
| 218 | 218 | ** files do and do not have the symlink permission. */ |
| 219 | 219 | if( !manifestSymlinks ){ |
| 220 | 220 | currentPerm = origPerm; |
| 221 | 221 |
| --- src/vfile.c | |
| +++ src/vfile.c | |
| @@ -210,11 +210,11 @@ | |
| 210 | oldMtime = db_column_int64(&q, 7); |
| 211 | origSize = db_column_int64(&q, 6); |
| 212 | currentSize = file_wd_size(zName); |
| 213 | currentMtime = file_wd_mtime(0); |
| 214 | origPerm = db_column_int(&q, 8); |
| 215 | #ifndef _WIN32 |
| 216 | /* For Windows, if the "manifest" setting contains the "l" flag and the |
| 217 | ** "manifest.symlinks" file exists, use its contents to determine which |
| 218 | ** files do and do not have the symlink permission. */ |
| 219 | if( !manifestSymlinks ){ |
| 220 | currentPerm = origPerm; |
| 221 |
| --- src/vfile.c | |
| +++ src/vfile.c | |
| @@ -210,11 +210,11 @@ | |
| 210 | oldMtime = db_column_int64(&q, 7); |
| 211 | origSize = db_column_int64(&q, 6); |
| 212 | currentSize = file_wd_size(zName); |
| 213 | currentMtime = file_wd_mtime(0); |
| 214 | origPerm = db_column_int(&q, 8); |
| 215 | #ifdef _WIN32 |
| 216 | /* For Windows, if the "manifest" setting contains the "l" flag and the |
| 217 | ** "manifest.symlinks" file exists, use its contents to determine which |
| 218 | ** files do and do not have the symlink permission. */ |
| 219 | if( !manifestSymlinks ){ |
| 220 | currentPerm = origPerm; |
| 221 |