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_invf_dict.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>
     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
    2635
    2736#include "sysfuncs.h"
    2837#include "messages.h"
    29 
    3038#include "mg_files.h"
    3139#include "invf.h"
    32 
    33 /*
    34    $Log$
    35    Revision 1.3  2001/05/17 04:38:15  jrm21
    36    portability changes, use getopt from unistd.h (all POSIX systems)
    37 
    38    Revision 1.2  2000/01/18 03:53:24  rjmcnab
    39    Fixed a couple of bugs and made building silent if needed.
    40 
    41    Revision 1.1  2000/01/14 02:26:16  sjboddie
    42    Rodgers new C++ mg
    43 
    44  */
    45 
    4640
    4741static void process_files (char *filename, unsigned long entriesPerBlock) {
Note: See TracChangeset for help on using the changeset viewer.