Fossil SCM
Fix build with older MinGW. See: [http://www.mail-archive.com/[email protected]/msg14377.html]
Commit
354288db9c0961ff99d9eac3a57c42d25d10e49f
Parent
42316a14e27cdeb…
1 file changed
+4
+4
| --- src/winfile.c | ||
| +++ src/winfile.c | ||
| @@ -22,10 +22,14 @@ | ||
| 22 | 22 | #ifdef _WIN32 |
| 23 | 23 | /* This code is for win32 only */ |
| 24 | 24 | #include <sys/stat.h> |
| 25 | 25 | #include <windows.h> |
| 26 | 26 | #include "winfile.h" |
| 27 | + | |
| 28 | +#ifndef LABEL_SECURITY_INFORMATION | |
| 29 | +# define LABEL_SECURITY_INFORMATION (0x00000010L) | |
| 30 | +#endif | |
| 27 | 31 | |
| 28 | 32 | /* |
| 29 | 33 | ** Fill stat buf with information received from stat() or lstat(). |
| 30 | 34 | ** lstat() is called on Unix if isWd is TRUE and allow-symlinks setting is on. |
| 31 | 35 | ** |
| 32 | 36 |
| --- src/winfile.c | |
| +++ src/winfile.c | |
| @@ -22,10 +22,14 @@ | |
| 22 | #ifdef _WIN32 |
| 23 | /* This code is for win32 only */ |
| 24 | #include <sys/stat.h> |
| 25 | #include <windows.h> |
| 26 | #include "winfile.h" |
| 27 | |
| 28 | /* |
| 29 | ** Fill stat buf with information received from stat() or lstat(). |
| 30 | ** lstat() is called on Unix if isWd is TRUE and allow-symlinks setting is on. |
| 31 | ** |
| 32 |
| --- src/winfile.c | |
| +++ src/winfile.c | |
| @@ -22,10 +22,14 @@ | |
| 22 | #ifdef _WIN32 |
| 23 | /* This code is for win32 only */ |
| 24 | #include <sys/stat.h> |
| 25 | #include <windows.h> |
| 26 | #include "winfile.h" |
| 27 | |
| 28 | #ifndef LABEL_SECURITY_INFORMATION |
| 29 | # define LABEL_SECURITY_INFORMATION (0x00000010L) |
| 30 | #endif |
| 31 | |
| 32 | /* |
| 33 | ** Fill stat buf with information received from stat() or lstat(). |
| 34 | ** lstat() is called on Unix if isWd is TRUE and allow-symlinks setting is on. |
| 35 | ** |
| 36 |