Ignore:
Timestamp:
Oct 19, 2011, 10:48:09 PM (14 years ago)
Author:
dmik
Message:

GCC doesn't have wcstr.h (wchar.h replaces it when needed).

Location:
branches/gcc-kmk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/heapstring.cpp

    r21720 r21725  
    2525#include <unicode.h>
    2626#include <ctype.h>
     27#include <wchar.h>
     28#ifndef __GNUC__
    2729#include <wcstr.h>
     30#endif
    2831#include "heap.h"
    2932#include <wine/unicode.h>
  • branches/gcc-kmk/src/kernel32/ole2nls.c

    r21355 r21725  
    1616#include <heapstring.h>
    1717#include <ctype.h>
     18#ifndef __GNUC__
    1819#include <wcstr.h>
     20#endif
    1921#endif
    2022
     
    19261928#ifdef __WIN32OS2__
    19271929    /* For WCHAR we better use the WCHAR toupper/lower.
    1928      * (VAC308 toupper/tolower doesn't do range checks according to standards 
     1930     * (VAC308 toupper/tolower doesn't do range checks according to standards
    19291931     *  which may cause illegal memory reads access when misused like it were here.
    19301932     */
Note: See TracChangeset for help on using the changeset viewer.