/* compiler manuals. */
#define _PDCLIB_SHRT_BYTES 2
#define _PDCLIB_INT_BYTES 4
-#if defined(__lp64__)
+#if defined(__LP64__)
#define _PDCLIB_LONG_BYTES 8
#else
#define _PDCLIB_LONG_BYTES 4
/* The default size for file buffers. Must be at least 256. */
#define _PDCLIB_BUFSIZ 1024
+/* We need \n -> \r\n translation for text files */
+#define _PDCLIB_NEED_EOL_TRANSLATION 1
+
/* Minimum number of files we can open simultaneously. C says this must be >= 8,
* so we say that. May actually be a lie in some cases...
*/
#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