46 |
|
// |
47 |
|
// Douglas Thrift |
48 |
|
// |
49 |
< |
// $Id: Search.cpp,v 1.27 2004/01/01 23:04:37 douglas Exp $ |
49 |
> |
// $Id$ |
50 |
|
|
51 |
< |
#include "Search.h" |
52 |
< |
#include "Indexer.h" |
53 |
< |
#include "Searcher.h" |
54 |
< |
#include "Outputer.h" |
51 |
> |
#include "Search.hpp" |
52 |
> |
#include "Indexer.hpp" |
53 |
> |
#include "Searcher.hpp" |
54 |
> |
#include "Outputer.hpp" |
55 |
|
|
56 |
|
#ifndef _WIN32 |
57 |
|
#include <sys/utsname.h> |
58 |
|
#else |
59 |
|
#include <windows.h> |
60 |
+ |
|
61 |
+ |
// Stupid MinGW |
62 |
+ |
#ifndef PROCESSOR_ARCHITECTURE_AMD64 |
63 |
+ |
#define PROCESSOR_ARCHITECTURE_AMD64 9 |
64 |
+ |
#endif |
65 |
+ |
#ifndef PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 |
66 |
+ |
#define PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 10 |
67 |
+ |
#endif |
68 |
+ |
|
69 |
|
#endif |
70 |
|
|
71 |
|
string program; |
72 |
|
string programName = "Douglas Thrift's Search Engine"; |
73 |
< |
string programVersion = "1.2rc3"; |
73 |
> |
string programVersion = "1.3svn"; |
74 |
|
bool debug = false; |
75 |
|
|
76 |
|
int main(int argc, char* argv[]) |