View | Details | Raw Unified
Collapse All | Expand All

(-) clisp-2.41/src/unix.d.orig (-1 / +6 lines)
 Lines 175-181    Link Here 
    #include <sys/mmu.h> /* for SHMLBA */
    #include <sys/mmu.h> /* for SHMLBA */
  #endif
  #endif
  #ifdef UNIX_LINUX
  #ifdef UNIX_LINUX
    #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
    #include <linux/version.h>
    #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
      #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
    #then
      #include <linux/shm.h> /* for SHMLBA on Linux 2.6 */
    #endif
  #endif
  #endif
  #if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5)
  #if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5)
    #define SHMMAX  0x100000 /* maximum shared memory segment size = 1 MB */
    #define SHMMAX  0x100000 /* maximum shared memory segment size = 1 MB */