/*1* This file is part of FFmpeg.2*3* FFmpeg is free software; you can redistribute it and/or4* modify it under the terms of the GNU Lesser General Public5* License as published by the Free Software Foundation; either6* version 2.1 of the License, or (at your option) any later version.7*8* FFmpeg is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU11* Lesser General Public License for more details.12*13* You should have received a copy of the GNU Lesser General Public14* License along with FFmpeg; if not, write to the Free Software15* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA16*/1718int plan9_main(int argc, char **argv);1920#undef main21int main(int argc, char **argv)22{23/* The setfcr() function in lib9 is broken, must use asm. */24#ifdef __i38625short fcr;26__asm__ volatile ("fstcw %0 \n"27"or $63, %0 \n"28"fldcw %0 \n"29: "=m"(fcr));30#endif3132return plan9_main(argc, argv);33}343536