mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
flactimer patches from Janne Hyvärinen <cse@sci.fi>.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="."
|
||||
AdditionalIncludeDirectories=".;..\..\..\include"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DEBUG"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
@@ -116,7 +116,7 @@
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="true"
|
||||
WholeProgramOptimization="true"
|
||||
AdditionalIncludeDirectories="."
|
||||
AdditionalIncludeDirectories=".;..\..\..\include"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="false"
|
||||
@@ -195,7 +195,7 @@
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="true"
|
||||
WholeProgramOptimization="true"
|
||||
AdditionalIncludeDirectories="."
|
||||
AdditionalIncludeDirectories=".;..\..\..\include"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="false"
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <windows.h>
|
||||
#include "share/compat.h"
|
||||
#include "share/safe_str.h"
|
||||
|
||||
#define int64_t __int64
|
||||
#define uint64_t unsigned int64_t
|
||||
@@ -106,8 +108,8 @@ int main(int argc, char *argv[])
|
||||
args[0] = '\0';
|
||||
for(i = 0; i < argc; i++) {
|
||||
if(i > 0)
|
||||
safe_strncat(args, sizeof(args), " ");
|
||||
safe_strncat(args, sizeof(args), argv[i]);
|
||||
safe_strncat(args, " ", sizeof(args));
|
||||
safe_strncat(args, argv[i], sizeof(args));
|
||||
}
|
||||
|
||||
//fprintf(stderr, "@@@ cmd=[%s] args=[%s]\n", argv[0], args);
|
||||
|
||||
Reference in New Issue
Block a user