mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
(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
This commit is contained in:
parent
4f3776f018
commit
8859c74a11
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user