]> pd.if.org Git - pdclib.old/blobdiff - platform/gandr/includes/_PDCLIB_config.h
[gandr] s/__lp64__/__LP64__/ to match GCC define
[pdclib.old] / platform / gandr / includes / _PDCLIB_config.h
index c899cfd6c4580cb3344624072c6629d445663d11..b21186c20068760a5e882fa44749efb43187ba76 100644 (file)
@@ -31,7 +31,7 @@
 /* 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
@@ -184,6 +184,9 @@ typedef __builtin_va_list _PDCLIB_va_list;
 /* 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...
  */