- Timestamp:
- 2000-08-20T20:36:56+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/librarymain.cpp
r1419 r1429 68 68 receptionist recpt; 69 69 nullproto nproto; 70 #ifndef __WIN32__ 70 71 z3950proto zproto; 72 #endif 71 73 72 74 text_tarray collections; … … 91 93 92 94 // read config file to see if built with mg or mgpp 95 // (for now we'll just ignore mgpp if on windows) 93 96 text_t buildtype = "mg"; // mg is default 97 #ifndef __WIN32__ 94 98 text_tarray cfgline; 95 99 text_t key; … … 111 115 112 116 confin.close(); 117 #endif 113 118 114 119 // this memory is created but never destroyed … … 143 148 cserver->add_source (mggdbmsource); 144 149 } 150 #ifndef __WIN32__ 151 145 152 else if (buildtype == "mgpp") { 146 153 … … 160 167 161 168 } 162 169 #endif 170 163 171 // inform collection server and everything it contains about its 164 172 // collection name … … 182 190 183 191 // z39.50 stuff - johnmcp 184 192 #ifndef __WIN32__ 185 193 // add the z39.50 server information. Read in the file 186 194 // etc/recpt/z3950.cfg for list of servers and their databases. … … 202 210 recpt.add_protocol (&zproto); 203 211 } 204 212 #endif 205 213 206 214 // add other converters
Note:
See TracChangeset
for help on using the changeset viewer.