summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-04 11:17:39 +0000
committerjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-04 11:17:39 +0000
commit8859c74a11754a6945debebc28cc9d98e811a523 (patch)
tree646b70809719054efab3c5aa6737495c892e3f7d /loader
parent4f3776f018ba2b7d07180da5500ba7dd55567637 (diff)
downloadmpv-8859c74a11754a6945debebc28cc9d98e811a523.tar.bz2
mpv-8859c74a11754a6945debebc28cc9d98e811a523.tar.xz
(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
Diffstat (limited to 'loader')
-rw-r--r--loader/ldt_keeper.c2
1 files changed, 2 insertions, 0 deletions
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();