home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gwm18a.zip / machine.c < prev    next >
Text File  |  1995-07-03  |  527b  |  25 lines

  1. /* Copyright 1989 GROUPE BULL -- See license conditions in file COPYRIGHT
  2.  * Copyright 1989 Massachusetts Institute of Technology
  3.  */
  4. /*******************************\
  5. *                     *
  6. *  Machine - dependent patches  *
  7. *                     *
  8. \*******************************/
  9.  
  10. #if defined SYSV || defined SVR4
  11.  
  12. /* getpagesize just returns "pagesize" which is 8192 on most machines? */
  13.  
  14. int 
  15. getpagesize()
  16. {
  17. #ifdef PAGE_SIZE
  18.     return PAGE_SIZE;
  19. #else /* PAGE_SIZE */
  20.     return 8192;
  21. #endif /* PAGE_SIZE */
  22. }
  23.  
  24. #endif /* SYSV || SVR4 */
  25.