Changeset 2742


Ignore:
Timestamp:
2001-09-20T14:32:00+12:00 (23 years ago)
Author:
cs025
Message:

a few fixes for compiling under windows with new long long stuff in mg

Location:
trunk/gsdl/packages/mg
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/mg/lib/longlong.h

    r2741 r2742  
    2323#define H_LONGLONG
    2424
     25#ifndef __WIN32__
    2526#include "config.h"
     27#endif
    2628
    2729/*
  • trunk/gsdl/packages/mg/lib/win32in.c

    r2741 r2742  
     1#include "longlong.h"
     2
    13/* This module provides an equivalent of <netinet/in.h> on  */
    24/* unix systems. */
     
    1113}
    1214
    13 mg_ullong ntohll(mg_ullong y)
     15mg_ullong ntohll(mg_ullong x)
    1416{
    1517#if defined (LITTLE_ENDIAN) || defined(_LITTLE_ENDIAN) || defined(__LITTLE_ENDIAN)
  • trunk/gsdl/packages/mg/lib/win32in.h

    r2741 r2742  
    11/* This module provides an equivalent of <netinet/in.h> on  */
    22/* unix systems. */
     3
     4#include "longlong.h"
    35
    46unsigned long htonl(unsigned long x);
  • trunk/gsdl/packages/mg/src/text/MGPASS.C

    r439 r2742  
    4141#include "messages.h"
    4242
     43#include "longlong.h"
     44
    4345#include "mg_files.h"
    4446#include "mg.h"
     
    4951/*
    5052   $Log$
     53   Revision 1.2  2001/09/20 02:32:00  cs025
     54   a few fixes for compiling under windows with new long long stuff in mg
     55
    5156   Revision 1.1  1999/08/10 21:17:39  sjboddie
    5257   renamed mg-1.3d directory mg
     
    100105FILE *Comp_Stats = NULL;
    101106int comp_stat_point = 0;
    102 double bytes_processed = 0;
     107mg_ullong bytes_processed = 0;
    103108int num_docs = 0;
    104 double bytes_received = 0;
     109mg_ullong bytes_received = 0;
    105110int stem_method = 0;
    106111int stemmer_num = 0; /* default to the Lovin stemmer */
Note: See TracChangeset for help on using the changeset viewer.