Subversion Repositories Kolibri OS

Rev

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

  1. /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
  2. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  3. #ifndef __dj_include_bss_h_
  4. #define __dj_include_bss_h_
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  11.  
  12. #ifndef __STRICT_ANSI__
  13.  
  14. #ifndef _POSIX_SOURCE
  15.  
  16. /* this gets *incremented* at startup, so that if a program dumps
  17.    itself (emacs) you still have a way of telling.  Compare this value
  18.    with a static, and if it's different, you've been restarted.
  19.    First time through on a non-unexec'd program, it's greater than 0 */
  20.  
  21. extern int __bss_count;
  22.  
  23. #endif /* !_POSIX_SOURCE */
  24. #endif /* !__STRICT_ANSI__ */
  25. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  26.  
  27. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  28. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33.  
  34. #endif /* !__dj_include_bss_h_ */
  35.