From 8859c74a11754a6945debebc28cc9d98e811a523 Mon Sep 17 00:00:00 2001 From: jkeil Date: Thu, 4 Oct 2001 11:17:39 +0000 Subject: (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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2071 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/ldt_keeper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'loader') diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c index c1a909eacf..4cd4d78d20 100644 --- a/loader/ldt_keeper.c +++ b/loader/ldt_keeper.c @@ -199,6 +199,7 @@ void Setup_LDT_Keeper(void) #endif /* __NetBSD__ || __FreeBSD__ || __OpenBSD__ */ #if defined(__svr4__) + { struct ssd ssd; ssd.sel = TEB_SEL; ssd.bo = array.base_addr; @@ -211,6 +212,7 @@ void Setup_LDT_Keeper(void) perror("sysi86(SI86DSCR)"); printf("Couldn't install fs segment, expect segfault\n"); } + } #endif Setup_FS_Segment(); -- cgit v1.2.3