Fossil SCM

Fix build with older MinGW. See: [http://www.mail-archive.com/[email protected]/msg14377.html]

jan.nijtmans 2014-01-14 08:35 trunk
Commit 354288db9c0961ff99d9eac3a57c42d25d10e49f
1 file changed +4
--- src/winfile.c
+++ src/winfile.c
@@ -22,10 +22,14 @@
2222
#ifdef _WIN32
2323
/* This code is for win32 only */
2424
#include <sys/stat.h>
2525
#include <windows.h>
2626
#include "winfile.h"
27
+
28
+#ifndef LABEL_SECURITY_INFORMATION
29
+# define LABEL_SECURITY_INFORMATION (0x00000010L)
30
+#endif
2731
2832
/*
2933
** Fill stat buf with information received from stat() or lstat().
3034
** lstat() is called on Unix if isWd is TRUE and allow-symlinks setting is on.
3135
**
3236
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button