home *** CD-ROM | disk | FTP | other *** search
/ Zodiac Super OZ / MEDIADEPOT.ISO / FILES / 13 / DJCRX201.ZIP / include / libc / stdiohk.h < prev    next >
C/C++ Source or Header  |  1995-04-28  |  765b  |  33 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #ifndef __dj_include_libc_stdiohk_h__
  3. #define __dj_include_libc_stdiohk_h__
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8.  
  9. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  10.  
  11. #ifndef __STRICT_ANSI__
  12.  
  13. #ifndef _POSIX_SOURCE
  14.  
  15. /* Force stdiohk.o to get linked in, and that module has the
  16.    code for the stdio flush/fclose stuff. That .o causes the
  17.    hook function to get initialized also. */
  18.  
  19. __asm__(".long ___stdio_cleanup_proc");
  20.  
  21. #endif /* !_POSIX_SOURCE */
  22. #endif /* !__STRICT_ANSI__ */
  23. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  24.  
  25. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  26. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.  
  32. #endif /* __dj_include_libc_stdiohk_h__ */
  33.