# HG changeset patch # User jkeil # Date 1002194259 0 # Node ID c1edbb8bfc0c43b6b98b4bd2e94a3de65ef56692 # Parent ce45cce7f7a54b5e62ea7ab9cca380badeccc5ef (solaris x86) C++ style variable declaration not at the start of a block does not work in mplayer, add a block to declare local variable. diff -r ce45cce7f7a5 -r c1edbb8bfc0c loader/ldt_keeper.c --- a/loader/ldt_keeper.c Thu Oct 04 02:21:47 2001 +0000 +++ b/loader/ldt_keeper.c Thu Oct 04 11:17:39 2001 +0000 @@ -199,6 +199,7 @@ #endif /* __NetBSD__ || __FreeBSD__ || __OpenBSD__ */ #if defined(__svr4__) + { struct ssd ssd; ssd.sel = TEB_SEL; ssd.bo = array.base_addr; @@ -211,6 +212,7 @@ perror("sysi86(SI86DSCR)"); printf("Couldn't install fs segment, expect segfault\n"); } + } #endif Setup_FS_Segment();