/*
**********************************************************************
-* Copyright (C) 2007, International Business Machines
+* Copyright (C) 2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: bitset.cpp
#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.
prevIndex=j;
}
- if(bitHash->countKeys()>LENGTHOF(shortBits)) {
+ if(bitHash->countKeys()>UPRV_LENGTHOF(shortBits)) {
bits=(int64_t *)uprv_malloc(bitHash->countKeys()*8);
}
if(bits!=NULL) {