Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/include/heapstring.h

    r10192 r21916  
    99#include <odin.h>
    1010
    11 #include <wine\unicode.h>
     11#include <wine/unicode.h>
    1212//SvL: strcase -> case insensitive!
    1313#define strncasecmp lstrncmpiA
     
    8888  {                                                                      \
    8989    int len = MultiByteToWideChar( CP_ACP, 0, strA, -1, NULL, 0);        \
    90     strW = (LPWSTR)_alloca( len*sizeof(WCHAR) );                         \
     90    strW = (LPWSTR)alloca( len*sizeof(WCHAR) );                          \
    9191    MultiByteToWideChar(CP_ACP, 0, strA, -1, strW, len);                 \
    9292  }
     
    9797  {                                                                      \
    9898      int len = WideCharToMultiByte( CP_ACP, 0, strW, -1, NULL, 0, 0, NULL);\
    99       strA = (LPSTR)_alloca(len);                                        \
     99      strA = (LPSTR)alloca(len);                                         \
    100100      WideCharToMultiByte(CP_ACP, 0, strW, -1, strA, len, 0, NULL );     \
    101101  }
     
    104104  {                                                                      \
    105105    int iLength = lstrlenA(strSrc) + 1;                                  \
    106     strDest = (LPSTR)_alloca( iLength );                                 \
     106    strDest = (LPSTR)alloca( iLength );                                  \
    107107    memcpy( strDest, strSrc, iLength);                                   \
    108108  }
     
    111111  {                                                                      \
    112112    int iLength = lstrlenW(strSrc) + 1;                                  \
    113     strDest = (LPWSTR)_alloca( iLength * sizeof(WCHAR) );                \
     113    strDest = (LPWSTR)alloca( iLength * sizeof(WCHAR) );                 \
    114114    memcpy( strDest, strSrc, iLength * sizeof(WCHAR) );                  \
    115115  }
Note: See TracChangeset for help on using the changeset viewer.