Ignore:
Timestamp:
Nov 30, 2001, 6:49:22 PM (24 years ago)
Author:
phaller
Message:

Fixed out-of-scope FIXME,TRACE,WARN macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shellord.c

    r7103 r7502  
    2424#include "debugtools.h"
    2525#include "winnls.h"
     26
     27#ifdef __WIN32OS2__
     28#include "heapstring.h"
     29#else
    2630#include "heap.h"
     31#endif
    2732
    2833#include "shlwapi.h"
     
    347352        TRACE("%p\n",x);
    348353#endif
    349         HeapFree(GetProcessHeap(), 0, x);
     354 
     355#if __WIN32OS2_
     356  HEAP_free(x);
     357#else
     358  HeapFree(GetProcessHeap(), 0, x);
     359#endif
    350360}
    351361
     
    361371{
    362372        LPBYTE ret;
    363 
     373 
     374#ifdef __WIN32OS2__
     375#if MEM_DEBUG
     376        ret = (LPVOID) HEAP_malloc(len+6);
     377#else
     378        ret = (LPVOID) HEAP_malloc(len);
     379#endif
     380#else
    364381#if MEM_DEBUG
    365382        ret = (LPVOID) HeapAlloc(GetProcessHeap(),0,len+6);
    366383#else
    367384        ret = (LPVOID) HeapAlloc(GetProcessHeap(),0,len);
     385#endif
    368386#endif
    369387
Note: See TracChangeset for help on using the changeset viewer.