Changeset 1429 for trunk


Ignore:
Timestamp:
2000-08-20T20:36:56+12:00 (24 years ago)
Author:
sjboddie
Message:

Made windows ignore the existence of mgpp until it has been ported
properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/librarymain.cpp

    r1419 r1429  
    6868  receptionist recpt;
    6969  nullproto nproto;
     70#ifndef __WIN32__
    7071  z3950proto zproto;
     72#endif
    7173
    7274  text_tarray collections;
     
    9193   
    9294    // read config file to see if built with mg or mgpp
     95    // (for now we'll just ignore mgpp if on windows)
    9396    text_t buildtype = "mg"; // mg is default
     97#ifndef __WIN32__
    9498    text_tarray cfgline;
    9599    text_t key;
     
    111115   
    112116    confin.close();
     117#endif
    113118
    114119    // this memory is created but never destroyed
     
    143148       cserver->add_source (mggdbmsource);
    144149    }
     150#ifndef __WIN32__
     151
    145152    else if (buildtype == "mgpp") {
    146153     
     
    160167   
    161168    }
    162    
     169#endif   
     170
    163171    // inform collection server and everything it contains about its
    164172    // collection name
     
    182190
    183191  // z39.50 stuff - johnmcp
    184 
     192#ifndef __WIN32__
    185193  // add the z39.50 server information. Read in the file
    186194  // etc/recpt/z3950.cfg for list of servers and their databases.
     
    202210      recpt.add_protocol (&zproto);
    203211  }
    204 
     212#endif
    205213
    206214  // add other converters
Note: See TracChangeset for help on using the changeset viewer.