Ignore:
Timestamp:
2001-05-24T17:06:48+12:00 (23 years ago)
Author:
sjboddie
Message:

Fiddled about with mgpp to get it compiling on Windows under VC++ 6.0. I
still can't get it to compile under VC++ 4.2 because of some weird
behaviour in STLport.

Also tidied up a little and removed some of the old log information
that was scattered about in some of the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/mg_stem_idx.cpp

    r2442 r2468  
    2222#define _XOPEN_SOURCE 1
    2323#define _XOPEN_SOURCE_EXTENDED 1
    24 #include <unistd.h>
    25 
     24
     25#if defined (__WIN32__)
     26# include "getopt.h"
     27#else
     28# include <unistd.h>
     29#endif
     30
     31#include "UCArray.h"
    2632#include "sysfuncs.h"
    2733#include "messages.h"
    28 
    2934#include "mg_files.h"
    3035#include "invf.h"
    31 #include "UCArray.h"
    3236#include "words.h"
    33 
    3437#include "stemmer.h"
    35 
    3638
    3739#if defined(GSDL_USE_OBJECTSPACE)
     
    4648#endif
    4749
    48 
    49 /*
    50    $Log$
    51    Revision 1.5  2001/05/17 04:38:16  jrm21
    52    portability changes, use getopt from unistd.h (all POSIX systems)
    53 
    54    Revision 1.4  2001/05/07 05:01:47  jrm21
    55    replaced bcopy with memcpy
    56 
    57    Revision 1.3  2000/01/18 03:53:24  rjmcnab
    58    Fixed a couple of bugs and made building silent if needed.
    59 
    60    Revision 1.2  2000/01/14 02:45:51  sjboddie
    61    fixed compiler warning
    62 
    63    Revision 1.1  2000/01/14 02:26:20  sjboddie
    64    Rodgers new C++ mg
    65 
    66  */
    67 
    68 
    6950typedef vector<unsigned long> WordNumList;
    7051typedef map<UCArray, WordNumList, DictLTUCArray> StemMapDict;
    71 
    7252
    7353void CreateStemDict (char *filename,
Note: See TracChangeset for help on using the changeset viewer.