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_weights_build.cpp

    r2442 r2468  
    1818 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1919 *
    20  * $Id$
    21  *
    2220 **************************************************************************/
     21
    2322#define _XOPEN_SOURCE 1
    2423#define _XOPEN_SOURCE_EXTENDED 1
    25 #include <unistd.h>
    26 
     24
     25#if defined (__WIN32__)
     26# include "getopt.h"
     27#else
     28# include <unistd.h>
     29#endif
     30
     31#include "UCArray.h"
    2732#include "sysfuncs.h"
    2833#include "memlib.h"
     
    3136#include "bitio_gen.h"
    3237#include "bitio_m_stdio.h"
    33 
    3438#include "mg_files.h"
    3539#include "locallib.h"
    3640#include "invf.h"
    37 // #include "WordData.h"
    38 #include "UCArray.h"
    3941#include "FIvfLevelInfo.h"
    4042#include "FragLevelConvert.h"
     
    4749#  include <map>
    4850#endif
    49 
    50 
    51 /*
    52    $Log$
    53    Revision 1.4  2001/05/17 04:38:16  jrm21
    54    portability changes, use getopt from unistd.h (all POSIX systems)
    55 
    56    Revision 1.3  2000/01/18 23:24:19  rjmcnab
    57    fixed a few more bugs
    58 
    59    Revision 1.2  2000/01/18 03:53:24  rjmcnab
    60    Fixed a couple of bugs and made building silent if needed.
    61 
    62    Revision 1.1  2000/01/14 02:26:21  sjboddie
    63    Rodgers new C++ mg
    64 
    65    Revision 1.1  1999/10/11 02:58:06  cs025
    66    Base install of MG-PP
    67 
    68    Revision 1.1  1999/08/10 21:18:16  sjboddie
    69    renamed mg-1.3d directory mg
    70 
    71    Revision 1.2  1998/11/25 07:55:49  rjmcnab
    72 
    73    Modified mg to that you can specify the stemmer you want
    74    to use via a command line option. You specify it to
    75    mg_passes during the build process. The number of the
    76    stemmer that you used is stored within the inverted
    77    dictionary header and the stemmed dictionary header so
    78    the correct stemmer is used in later stages of building
    79    and querying.
    80 
    81    Revision 1.1  1998/11/17 09:35:22  rjmcnab
    82    *** empty log message ***
    83 
    84    * Revision 1.4  1994/11/29  00:32:05  tes
    85    * Committing the new merged files and changes.
    86    *
    87    * Revision 1.3  1994/10/20  03:57:00  tes
    88    * I have rewritten the boolean query optimiser and abstracted out the
    89    * components of the boolean query.
    90    *
    91    * Revision 1.2  1994/09/20  04:41:55  tes
    92    * For version 1.1
    93    *
    94  */
    9551
    9652#define MAXBITS (sizeof(unsigned long) * 8)
Note: See TracChangeset for help on using the changeset viewer.