]> git.sur5r.net Git - cc65/blobdiff - include/stdio.h
Code review changes and build fix.
[cc65] / include / stdio.h
index b2c4fa67a16af2039229b4fb18bae5e21a81938c..73dc05bdb602a4e1b6a9eccf330e9b63a74527a7 100644 (file)
 
 
 
-#ifndef _STDDEF_H
-#  include <stddef.h>
-#endif
-#ifndef _STDARG_H
-#  include <stdarg.h>
-#endif
+#include <stddef.h>
+#include <stdarg.h>
 
 
 
@@ -69,12 +65,14 @@ extern FILE* stderr;
 #define TMP_MAX         256
 
 /* Standard defines that are platform dependent */
-#if defined(__APPLE2__) || defined(__APPLE2ENH__)
+#if defined(__APPLE2__)
 #  define FILENAME_MAX  (64+1)
-#elif defined(__ATARI__) || defined(__ATARIXL__)
+#elif defined(__ATARI__)
 #  define FILENAME_MAX  (12+1)
 #elif defined(__LUNIX__)
 #  define FILENAME_MAX  (80+1)
+#elif defined(__TELESTRAT__)
+#  define FILENAME_MAX  (50+1)
 #else
 #  define FILENAME_MAX  (16+1)
 #endif
@@ -145,6 +143,3 @@ void __fastcall__ _poserror (const char* msg);          /* cc65 */
 
 /* End of stdio.h */
 #endif
-
-
-