changeset 2070:c1edbb8bfc0c

(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.
author jkeil
date Thu, 04 Oct 2001 11:17:39 +0000
parents ce45cce7f7a5
children 7f27b212e07b
files loader/ldt_keeper.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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();