diff options
author | Albert Astals Cid <aacid@kde.org> | 2013-04-14 16:40:51 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2013-04-14 16:40:51 +0200 |
commit | f8bf602620b3c7570f483ac66fc4d6a76a81a882 (patch) | |
tree | 45fd3e113a9ccf933c8d496f1259ab2f7eaae3f9 /test | |
parent | bbd27dc4ce7b24af890d80f597f74e5d7ee0215a (diff) | |
parent | 62a5b4d5c6d5c368d190b86eab63ccb07d642c01 (diff) |
Merge remote-tracking branch 'origin/poppler-0.22'
Diffstat (limited to 'test')
-rw-r--r-- | test/perf-test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc index 84bbcda1..da14a7c7 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -1,5 +1,5 @@ /* Copyright Krzysztof Kowalczyk 2006-2007
- Copyright Hib Eris <hib@hiberis.nl> 2008
+ Copyright Hib Eris <hib@hiberis.nl> 2008, 2013
License: GPLv2 */
/*
A tool to stress-test poppler rendering and measure rendering times for
@@ -325,7 +325,7 @@ void sleep_milliseconds(int milliseconds) #endif
}
-#ifndef _MSC_VER
+#ifndef HAVE_STRCPY_S
void strcpy_s(char* dst, size_t dst_size, const char* src)
{
size_t src_size = strlen(src) + 1;
@@ -338,7 +338,9 @@ void strcpy_s(char* dst, size_t dst_size, const char* src) }
}
}
+#endif
+#ifndef HAVE_STRCAT_S
void strcat_s(char *dst, size_t dst_size, const char* src)
{
size_t dst_len = strlen(dst);
|