Changeset 19822


Ignore:
Timestamp:
06/12/09 15:57:31 (12 years ago)
Author:
mdewsnip
Message:

Commented out all occurrences of

#define _XOPEN_SOURCE_EXTENDED 1

This was allegedly added for compilation on Solaris, but it just causes errors for me (on the NLNZ Solaris machines).

Location:
indexers/trunk/mgpp/text
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mgpp/text/Queryer.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526/* getopt is in posix.2, so cygwin should have it in unistd, but doesn't */
  • indexers/trunk/mgpp/text/ivf.pass2.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526#include <stdio.h>
  • indexers/trunk/mgpp/text/mg_errors.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526#include "sysfuncs.h"
  • indexers/trunk/mgpp/text/mg_files.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
     25
    2426#include "sysfuncs.h"
    2527#include "memlib.h"
  • indexers/trunk/mgpp/text/mgpp_compression_dict.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526// need this to avoid bizarre compiler problems under VC++ 6.0
  • indexers/trunk/mgpp/text/mgpp_decompress_text.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526/* getopt is in posix.2, so cygwin should have it in unistd, but doesn't */
  • indexers/trunk/mgpp/text/mgpp_fast_comp_dict.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526// need this to avoid bizarre compiler problems under VC++ 6.0
  • indexers/trunk/mgpp/text/mgpp_invf_dict.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526// need this to avoid bizarre compiler problems under VC++ 6.0
  • indexers/trunk/mgpp/text/mgpp_invf_dict_dump.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526// need this to avoid bizarre compiler problems under VC++ 6.0
  • indexers/trunk/mgpp/text/mgpp_invf_dump.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526// need this to avoid bizarre compiler problems under VC++ 6.0
  • indexers/trunk/mgpp/text/mgpp_passes.cpp

    r16583 r19822  
    2222
    2323#define _XOPEN_SOURCE 1
    24 #define _XOPEN_SOURCE_EXTENDED 1
     24// This was added for Solaris, but it makes things worse on Solaris for me...
     25// #define _XOPEN_SOURCE_EXTENDED 1
    2526
    2627#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
  • indexers/trunk/mgpp/text/mgpp_passes_4jni.cpp

    r16583 r19822  
    2222
    2323#define _XOPEN_SOURCE 1
    24 #define _XOPEN_SOURCE_EXTENDED 1
     24// This was added for Solaris, but it makes things worse on Solaris for me...
     25// #define _XOPEN_SOURCE_EXTENDED 1
    2526
    2627#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
  • indexers/trunk/mgpp/text/mgpp_perf_hash_build.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526// need this to avoid bizarre compiler problems under VC++ 6.0
  • indexers/trunk/mgpp/text/mgpp_stem_idx.cpp

    r18773 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526/* getopt is in posix.2, so cygwin should have it in unistd, but doesn't */
  • indexers/trunk/mgpp/text/mgpp_weights_build.cpp

    r16583 r19822  
    2121
    2222#define _XOPEN_SOURCE 1
    23 #define _XOPEN_SOURCE_EXTENDED 1
     23// This was added for Solaris, but it makes things worse on Solaris for me...
     24// #define _XOPEN_SOURCE_EXTENDED 1
    2425
    2526/* getopt is in posix.2, so cygwin should have it in unistd, but doesn't */
Note: See TracChangeset for help on using the changeset viewer.