home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / code / microema.sit / includes / stdio.h < prev   
Encoding:
C/C++ Source or Header  |  1989-04-28  |  987 b   |  36 lines  |  [TEXT/Earl]

  1. /* 
  2.  * Dummy header file to take the place of <stdio.h> for MicroEMACS
  3.  * for the Macintosh (LightSpeedC¬), which doesn't use stdio.
  4.  * When using LightSpeedC¬, copy this file into the same folder as
  5.  * LightSpeedC¬, and backup the "real" stdio.h elsewhere.
  6.  * When using MPW, the Makefile takes care of the search path.
  7.  * The following lines determine which compiler is used...
  8.  */
  9. #ifndef macintosh    /* MPW C 2.0.2 */
  10. #ifndef MPU68000    /* Aztec C 3.6c */
  11. #define LSC 1
  12. #define MPW 0
  13. #endif
  14. #endif
  15. #ifndef LSC
  16. #define LSC 0
  17. #define MPW 1
  18. #endif
  19. #if LSC
  20. #include <FileMgr.h>
  21. #define PASS_STR(a) a
  22. #endif
  23. #if MPW
  24. #include <Files.h>
  25. #endif
  26. #ifndef NULL
  27. #define NULL 0L
  28. #endif
  29. extern Point where;
  30. extern exit();
  31. extern macbeep();
  32. extern char        ourAppName[32];        /* Pascal string naming program. */
  33. extern short        ourRefNum;            /* RefNum of application file. */
  34. extern short        ourVRefNum;        /* WDRefNum of application file. */
  35. extern short        _iovrefnum;/* Current default directory for reads. */
  36.