Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/loader/setup_FS.c Fri Aug 24 14:49:05 2001 +0000 +++ b/loader/setup_FS.c Fri Aug 24 16:12:28 2001 +0000 @@ -21,6 +21,9 @@ #include <sys/sysi86.h> /* solaris x86: add missing prototype for sysi86() */ extern int sysi86(int, void*); +#ifndef NUMSYSLDTS /* SunOS 2.5.1 does not define NUMSYSLDTS */ +#define NUMSYSLDTS 6 /* Let's hope the SunOS 5.8 value is OK */ +#endif #define TEB_SEL_IDX NUMSYSLDTS #endif /* __svr4__ */