|
a/src/utils/smallut.cpp |
|
b/src/utils/smallut.cpp |
|
... |
|
... |
31 |
#include <string.h>
|
31 |
#include <string.h>
|
32 |
|
32 |
|
33 |
#include <string>
|
33 |
#include <string>
|
34 |
#include <iostream>
|
34 |
#include <iostream>
|
35 |
#include <list>
|
35 |
#include <list>
|
|
|
36 |
using namespace std;
|
36 |
|
37 |
|
37 |
#include "smallut.h"
|
38 |
#include "smallut.h"
|
38 |
#include "utf8iter.h"
|
39 |
#include "utf8iter.h"
|
39 |
#include "hldata.h"
|
40 |
#include "hldata.h"
|
40 |
|
|
|
41 |
#ifndef NO_NAMESPACES
|
|
|
42 |
using namespace std;
|
|
|
43 |
#endif /* NO_NAMESPACES */
|
|
|
44 |
|
|
|
45 |
#define MIN(A,B) ((A)<(B)?(A):(B))
|
|
|
46 |
|
41 |
|
47 |
int stringicmp(const string & s1, const string& s2)
|
42 |
int stringicmp(const string & s1, const string& s2)
|
48 |
{
|
43 |
{
|
49 |
string::const_iterator it1 = s1.begin();
|
44 |
string::const_iterator it1 = s1.begin();
|
50 |
string::const_iterator it2 = s2.begin();
|
45 |
string::const_iterator it2 = s2.begin();
|