Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4e08cdf5
Commit
4e08cdf5
authored
Jul 06, 2017
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build failure on Windows
parent
7e6a600d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
include/my_dir.h
include/my_dir.h
+10
-3
No files found.
include/my_dir.h
View file @
4e08cdf5
...
...
@@ -35,9 +35,16 @@ extern "C" {
#define MY_S_ISUID S_ISUID
/* set user id on execution */
#define MY_S_ISGID S_ISGID
/* set group id on execution */
#define MY_S_ISVTX S_ISVTX
/* save swapped text even after use */
#define MY_S_IREAD S_IRUSR
/* read permission, owner */
#define MY_S_IWRITE S_IWUSR
/* write permission, owner */
#define MY_S_IEXEC S_IXUSR
/* execute/search permission, owner */
#ifndef S_IREAD
#define MY_S_IREAD S_IRUSR
/* read permission, owner */
#define MY_S_IWRITE S_IWUSR
/* write permission, owner */
#define MY_S_IEXEC S_IXUSR
/* execute/search permission, owner */
#else
#define MY_S_IREAD S_IREAD
/* read permission, owner */
#define MY_S_IWRITE S_IWRITE
/* write permission, owner */
#define MY_S_IEXEC S_IEXEC
/* execute/search permission, owner */
#endif
#define MY_S_ISDIR(m) (((m) & MY_S_IFMT) == MY_S_IFDIR)
#define MY_S_ISCHR(m) (((m) & MY_S_IFMT) == MY_S_IFCHR)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment