| Index: platform_tools/android/launcher/skia_launcher.cpp
|
| diff --git a/platform_tools/android/launcher/skia_launcher.cpp b/platform_tools/android/launcher/skia_launcher.cpp
|
| index d1bdcb54287236840404cfa354d7fc676a3dc39f..746d470a3c2dcaad8d38bc0b1671d75daddc0e62 100644
|
| --- a/platform_tools/android/launcher/skia_launcher.cpp
|
| +++ b/platform_tools/android/launcher/skia_launcher.cpp
|
| @@ -7,10 +7,6 @@
|
|
|
| #include <dlfcn.h>
|
| #include <stdio.h>
|
| -
|
| -#ifdef SK_BUILD_FOR_WIN
|
| - #define snprintf _snprintf
|
| -#endif
|
|
|
| void usage() {
|
| printf("[USAGE] skia_launcher program_name [options]\n");
|
| @@ -36,8 +32,7 @@
|
| {
|
| // attempt to lookup the location of the shared libraries
|
| char libraryLocation[100];
|
| - snprintf(libraryLocation, SK_ARRAY_COUNT(libraryLocation),
|
| - "%s/lib%s.so", appLocation, libraryName);
|
| + sprintf(libraryLocation, "%s/lib%s.so", appLocation, libraryName);
|
| if (!file_exists(libraryLocation)) {
|
| printf("ERROR: Unable to find the '%s' library in the Skia App.\n", libraryName);
|
| printf("ERROR: Did you provide the correct program_name?\n");
|
|
|