ICU-7653 #include "cmemory.h" in perf tests for UPRV_LENGTHOF

X-SVN-Rev: 36276
This commit is contained in:
Steven R. Loomis 2014-08-28 22:45:56 +00:00
parent 7594250cc5
commit f5d289f2ce
6 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include "convperf.h"
#include "data.h"
#include <stdio.h>
#include "cmemory.h" // for UPRV_LENGTHOF
int main(int argc, const char* argv[]){
UErrorCode status = U_ZERO_ERROR;

View File

@ -37,6 +37,7 @@
#include "ucbuf.h" // struct ULine
#include "uoptions.h"
#include "uvectr32.h"
#include "cmemory.h" // for UPRV_LENGTHOF
// Test object.
class DictionaryTriePerfTest : public UPerfTest {

View File

@ -13,6 +13,7 @@
*/
#include "normperf.h"
#include "uoptions.h"
#include "cmemory.h" // for UPRV_LENGTHOF
#include <stdio.h>
UPerfFunction* NormalizerPerformanceTest::runIndexedTest(int32_t index, UBool exec,const char* &name, char* par) {

View File

@ -20,6 +20,7 @@
#include "unicode/utypes.h"
#include "unicont.h"
#include "cmemory.h" // for UPRV_LENGTHOF
/*
* Hash table for up to 1k 64-bit words, for 1 bit per BMP code point.

View File

@ -19,6 +19,7 @@
#include "unicode/uniset.h"
#include "unicode/unistr.h"
#include "uoptions.h"
#include "cmemory.h" // for UPRV_LENGTHOF
// Command-line options specific to unisetperf.
// Options do not have abbreviations: Force readable command lines.

View File

@ -18,6 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "unicode/uperf.h"
#include "cmemory.h" // for UPRV_LENGTHOF
#include "uoptions.h"
/* definitions and text buffers */