Commit 26bed72b authored by Alex Izvorski's avatar Alex Izvorski

updated MS VC8/VC7 build, patch by Gabriel Bouvigne

git-svn-id: svn://svn.videolan.org/x264/trunk@657 df754926-b1dd-0310-bc7b-ec298dee348c
parent a3554866
......@@ -1055,34 +1055,6 @@
Outputs="$(IntDir)\$(InputName).obj"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\common\i386\dct-c.c">
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="2"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
BasicRuntimeChecks="3"/>
</FileConfiguration>
<FileConfiguration
Name="Release64|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="2"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\common\i386\dct.h">
</File>
......
......@@ -23,7 +23,9 @@
#include <stdio.h>
#include <string.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#include "common.h"
......
......@@ -26,7 +26,9 @@
#include <string.h>
#include <math.h>
#include <limits.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#include "common/common.h"
#include "macroblock.h"
......
......@@ -202,7 +202,11 @@ static char *posixly_correct;
# if HAVE_STRING_H
# include <string.h>
# else
# include <strings.h>
# ifdef _MSC_VER
# include <string.h>
# else
# include <strings.h>
# endif
# endif
/* Avoid depending on library functions or files
......@@ -980,6 +984,16 @@ getopt (argc, argv, optstring)
0);
}
#ifdef _MSC_VER
int
getopt_long (argc, argv, optstring, long_options, opt_index)
{
return _getopt_internal (argc, argv, optstring, long_options, opt_index, 0);
}
#endif
#endif /* Not ELIDE_CODE. */
#ifdef TEST
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment