summaryrefslogtreecommitdiff
path: root/rtl/bsd
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-04-04 14:52:28 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-04-04 14:52:28 +0000
commit508d106c949e68c3f5b17d6d7f9f02b223ebc75d (patch)
treed2527ef89fb63b8a39b00bf9cc5da72eaa413ba5 /rtl/bsd
parent01fc90b82452c3ed1c4ef4e6fc993ecb6acb4cf5 (diff)
downloadfpc-508d106c949e68c3f5b17d6d7f9f02b223ebc75d.tar.gz
+ added some comments to the else/endif directives to make it easier to figure
out their corresponding ifdef git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@41826 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/bsd')
-rw-r--r--rtl/bsd/ostypes.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/bsd/ostypes.inc b/rtl/bsd/ostypes.inc
index 89c5145830..e2002feb57 100644
--- a/rtl/bsd/ostypes.inc
+++ b/rtl/bsd/ostypes.inc
@@ -95,7 +95,7 @@ TYPE
st_mode : mode_t; // inode protection mode
st_nlink : nlink_t; // number of hard links
st_ino : ino_t; // inode's number
-{$else}
+{$else not darwin_new_iostructs}
{$ifdef netbsd_use_stat30}
{ order is inverted for better alignment probably }
st_mode : mode_t; // inode protection mode
@@ -107,7 +107,7 @@ TYPE
{$endif not openbsd}
{$endif not netbsd}
st_nlink : nlink_t; // number of hard links
-{$endif}
+{$endif not darwin_new_iostructs}
st_uid : uid_t; // user ID of the file's owner
st_gid : gid_t; // group ID of the file's group
st_rdev : dev_t; // device type