Subversion Repositories filter_foundry

Rev

Rev 237 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. /* this hack (to fool MPW linker) is due to
  2.    http://preserve.mactech.com/articles/develop/issue_15/117-131_Q_As.html */
  3.  
  4. #include <stdio.h>
  5. #include <mactypes.h>
  6.  
  7. // These calls won't actually be called by sprintf.
  8. size_t fwrite (const void *a, size_t b, size_t c, FILE *d) {
  9.         DebugStr("\pstubs-mpwstdio.c: fwrite called (THIS SHOULD NOT HAPPEN)");
  10.         return 0;
  11. }
  12. int _flsbuf(unsigned char a, FILE *b) {
  13.         DebugStr("\pstubs-mpwstdio.c: _flsbuf called (THIS SHOULD NOT HAPPEN)");
  14.         return 0;
  15. }      
  16.