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

    r2442 r2468  
    1818 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1919 *
    20  * $Id$
    21  *
    2220 **************************************************************************/
    2321
    2422#define _XOPEN_SOURCE 1
    2523#define _XOPEN_SOURCE_EXTENDED 1
    26 #include <unistd.h>
     24
     25// need this to avoid bizarre compiler problems under VC++ 6.0
     26#if defined (__WIN32__) && !defined (GSDL_USE_IOS_H)
     27# include <iostream>
     28#endif
     29
     30#if defined (__WIN32__)
     31# include "getopt.h"
     32#else
     33# include <unistd.h>
     34#endif
    2735
    2836#include "sysfuncs.h"
     
    3947#include "mg.h"
    4048
    41 /*
    42    $Log$
    43    Revision 1.4  2001/05/17 04:38:16  jrm21
    44    portability changes, use getopt from unistd.h (all POSIX systems)
    45 
    46    Revision 1.3  2001/05/07 05:01:47  jrm21
    47    replaced bcopy with memcpy
    48 
    49    Revision 1.2  2000/02/15 22:45:22  kjm18
    50    added feature to retrieve doc nums at a different level than the level
    51    queried at. eg query at Document level, but retrieve section level docnums
    52    bug in mg_perf_hash_build.cpp fixed
    53 
    54    Revision 1.1  2000/01/14 02:26:19  sjboddie
    55    Rodgers new C++ mg
    56 
    57    Revision 1.2  1999/10/17 23:43:27  cs025
    58    Changes to eradicate Xmalloc
    59 
    60    Revision 1.1  1999/10/11 02:58:01  cs025
    61    Base install of MG-PP
    62 
    63    Revision 1.1  1999/08/10 21:18:13  sjboddie
    64    renamed mg-1.3d directory mg
    65 
    66    Revision 1.2  1998/11/25 07:55:47  rjmcnab
    67 
    68    Modified mg to that you can specify the stemmer you want
    69    to use via a command line option. You specify it to
    70    mg_passes during the build process. The number of the
    71    stemmer that you used is stored within the inverted
    72    dictionary header and the stemmed dictionary header so
    73    the correct stemmer is used in later stages of building
    74    and querying.
    75 
    76    Revision 1.1  1998/11/17 09:35:15  rjmcnab
    77    *** empty log message ***
    78 
    79    * Revision 1.3  1994/10/20  03:56:58  tes
    80    * I have rewritten the boolean query optimiser and abstracted out the
    81    * components of the boolean query.
    82    *
    83    * Revision 1.2  1994/09/20  04:41:53  tes
    84    * For version 1.1
    85    *
    86  */
    87 
    88 
    89 
    9049#define POOL_SIZE 1024*1024
    91 
    9250
    9351static void ProcessFiles (char *filename, int r) {
Note: See TracChangeset for help on using the changeset viewer.