]> pd.if.org Git - pdclib.old/blobdiff - opt/tss_errno/errno.h
Add optional EIO to tss_errno
[pdclib.old] / opt / tss_errno / errno.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