comparison loader/setup_FS.c @ 1679:73c8f54305b1

Add a few ifdefs, so that the code compiles on old solaris releases (2.6 and 7)
author jkeil
date Fri, 24 Aug 2001 16:12:28 +0000
parents d8c1b0b38edc
children
comparison
equal deleted inserted replaced
1678:9305c0d5216b 1679:73c8f54305b1
19 #ifdef __svr4__ 19 #ifdef __svr4__
20 #include <sys/segment.h> 20 #include <sys/segment.h>
21 #include <sys/sysi86.h> 21 #include <sys/sysi86.h>
22 /* solaris x86: add missing prototype for sysi86() */ 22 /* solaris x86: add missing prototype for sysi86() */
23 extern int sysi86(int, void*); 23 extern int sysi86(int, void*);
24 #ifndef NUMSYSLDTS /* SunOS 2.5.1 does not define NUMSYSLDTS */
25 #define NUMSYSLDTS 6 /* Let's hope the SunOS 5.8 value is OK */
26 #endif
24 #define TEB_SEL_IDX NUMSYSLDTS 27 #define TEB_SEL_IDX NUMSYSLDTS
25 #endif /* __svr4__ */ 28 #endif /* __svr4__ */
26 29
27 30
28 31