Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c

Issue 1412653006: Fix Visual Studio 2015 WebRtc x86 build. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added comments for VS2015 compiler bug. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c b/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c
index e8116ffdf863ffd8eae78bd269d09b63af979b5b..1a1697fdae28aa51ea51d8c02803a11286d9a7e0 100644
--- a/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c
+++ b/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c
@@ -17,8 +17,10 @@
#ifdef WIN32
#include "windows.h"
+#ifndef CLOCKS_PER_SEC
#define CLOCKS_PER_SEC 1000
#endif
+#endif
#include <ctype.h>
#include <math.h>
@@ -218,7 +220,7 @@ int main(int argc, char* argv[]) {
_makepath(bitrateFileName, outDrive, outPath, "bitrate", ".txt");
bitrateFile = fopen(bitrateFileName, "a");
- fprintf(bitrateFile, "% %%s \n", inname);
+ fprintf(bitrateFile, "%% %s \n", inname);
#endif
printf("\n");

Powered by Google App Engine
This is Rietveld 408576698