Browse Source

* building on darwin (and most likely other BSDs) fixed

(cherry picked from commit d4d4498fc04b92635fce045dcb44a91cc3443ac1)
florian 2 years ago
parent
commit
1156db235a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      rtl/bsd/ostypes.inc

+ 3 - 1
rtl/bsd/ostypes.inc

@@ -494,7 +494,9 @@ Const
   S_IFLNK = &120000;
   S_IFLNK = &120000;
   S_IFSOCK= &140000;
   S_IFSOCK= &140000;
   S_IFWHT = &160000;
   S_IFWHT = &160000;
-  S_ISVTX =   &1000;
+  S_ISUID = &4000;
+  S_ISGID = &2000;
+  S_ISVTX = &1000;
 
 
 {
 {
  * Resource limits from FreeBSD5. To be checked for the others.
  * Resource limits from FreeBSD5. To be checked for the others.