00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef ALPHA_KLUDGES_H
00024 #define ALPHA_KLUDGES_H
00025
00026 #ifndef HAVE_HASH_MAP
00027 # define DONT_HAVE_HASH_MAP
00028 #endif
00029 #ifndef HAVE_HASH_SET
00030 # define DONT_HAVE_HASH_SET
00031 #endif
00032
00033
00034
00035
00036
00037 #if defined(__DECCXX) && defined(__linux__)
00038
00039 #undef HAVE_HASH_MAP
00040 #undef HAVE_HASH_SET
00041 #undef DONT_HAVE_HASH_MAP
00042 #undef DONT_HAVE_HASH_SET
00043 #define DONT_HAVE_HASH_SET
00044 #define DONT_HAVE_HASH_MAP
00045
00046 namespace std {
00047 #include <sys/types.h>
00048 }
00049
00050 typedef std::size_t size_t;
00051
00052 namespace std {
00053 #include <stdio.h>
00054 #include <stdlib.h>
00055 #include <unistd.h>
00056 #include <signal.h>
00057 #include <sys/stat.h>
00058 #include <fcntl.h>
00059 #include <errno.h>
00060 #include <string.h>
00061 #include <ctype.h>
00062 #include <wchar.h>
00063 #include <wctype.h>
00064 #include <sys/time.h>
00065 #include <time.h>
00066 #include <unistd.h>
00067 #include <math.h>
00068 }
00069 #include <iomanip>
00070 #include <fstream>
00071 #include <assert.h>
00072
00073 using std::FILE;
00074
00075
00076
00077 #include <iostream>
00078 #include <vector>
00079
00080 namespace std{
00081 using ::ostream;
00082 using ::istream;
00083 using ::ofstream;
00084 using ::ifstream;
00085 using ::cout;
00086 using ::cin;
00087 using ::cerr;
00088 using ::clog;
00089 using ::endl;
00090 using ::ios;
00091 using ::vector;
00092 using ::dec;
00093 using ::hex;
00094 using ::setfill;
00095 using ::setw;
00096 };
00097
00098
00099
00100
00101
00102 #else
00103 #error "alpha_kludges.h should not have been included!"
00104 #endif
00105
00106 #endif
00107
00108