Browse Source

* Define two more constants in order to compile fppkg under Haiku after r15275

git-svn-id: trunk@15297 -
olivier 15 years ago
parent
commit
f0aeeed4c4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      rtl/haiku/errno.inc

+ 3 - 2
rtl/haiku/errno.inc

@@ -2,7 +2,7 @@
     This file is part of the Free Pascal run time library.
     This file is part of the Free Pascal run time library.
     Copyright (c) 1999-2000 by the Free Pascal development team.
     Copyright (c) 1999-2000 by the Free Pascal development team.
 
 
-    BeOS POSIX compliant error codes
+    Haiku POSIX compliant error codes
 
 
     See the file COPYING.FPC, included in this distribution,
     See the file COPYING.FPC, included in this distribution,
     for details about the copyright.
     for details about the copyright.
@@ -386,10 +386,11 @@ const
     ESysESRCH       = (B_POSIX_ERROR_BASE + 13);
     ESysESRCH       = (B_POSIX_ERROR_BASE + 13);
     ESysETIMEDOUT   = ord(B_TIMED_OUT);
     ESysETIMEDOUT   = ord(B_TIMED_OUT);
     ESysEXDEV       = ord(B_CROSS_DEVICE_LINK);
     ESysEXDEV       = ord(B_CROSS_DEVICE_LINK);
+    ESysEMSGSIZE     = EMSGSIZE;
+    ESysEOPNOTSUPP   = EOPNOTSUPP;
 
 
     {ESysEBADMSG     =    realtime extension POSIX only   }
     {ESysEBADMSG     =    realtime extension POSIX only   }
     {ESysECANCELED   =    async. I/O extension POSIX only }
     {ESysECANCELED   =    async. I/O extension POSIX only }
-    {ESysEMSGSIZE    =    realtime extension POSIX only   }
     {ESysEINPROGRESS =    async. I/O extension POSIX only }
     {ESysEINPROGRESS =    async. I/O extension POSIX only }
 
 
 {***********************************************************************}
 {***********************************************************************}