]> pd.if.org Git - pdclib.old/commitdiff
Add optional EIO to tss_errno
authorOwen Shepherd <owen.shepherd@e43.eu>
Fri, 3 Oct 2014 17:13:08 +0000 (18:13 +0100)
committerOwen Shepherd <owen.shepherd@e43.eu>
Fri, 3 Oct 2014 17:13:08 +0000 (18:13 +0100)
opt/tss_errno/errno.h
platform/gandr/includes/_PDCLIB_config.h

index 47b2022439a0fd31cce12add91bc6f16a386187a..cda22a00328e8c2b5580ca36e907b2899ed88c8b 100644 (file)
@@ -17,7 +17,7 @@ extern int * _PDCLIB_errno_func( void );
 #define EDOM _PDCLIB_EDOM
 #define EILSEQ _PDCLIB_EILSEQ
 
-/* C++11. Yes, they did just copy the POSIX errno list into the standard 
+/* C++11. Yes, they did just copy the POSIX errno list into the standard
  *
   * ...take a DEEP breath...
  */
@@ -93,6 +93,10 @@ extern int * _PDCLIB_errno_func( void );
 #define ENOTDIR _PDCLIB_ENOTDIR
 #define EPROTOTYPE _PDCLIB_EPROTOTYPE
 
+#ifdef _PDCLIB_EIO
+#define EIO _PDCLIB_EIO
+#endif
+
 _PDCLIB_END_EXTERN_C
 #endif
 
index 598b2167e68b11050a09b2fc19c7168e68218337..c899cfd6c4580cb3344624072c6629d445663d11 100644 (file)
@@ -283,7 +283,8 @@ typedef __builtin_va_list _PDCLIB_va_list;
 #define _PDCLIB_ENODATA 71
 #define _PDCLIB_ENOTDIR 72
 #define _PDCLIB_EPROTOTYPE 73
+#define _PDCLIB_EIO 74
 
-#define _PDCLIB_ERRNO_MAX 73
+#define _PDCLIB_ERRNO_MAX 74
 
 #endif