Changeset 326 for trunk/gc6.8


Ignore:
Timestamp:
Apr 9, 2008, 10:22:08 PM (18 years ago)
Author:
cinc
Message:

Portability patches for Windows, Linux, Darwin by Bird.

Location:
trunk/gc6.8
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gc6.8/include/gc_config_macros.h

    r132 r326  
    135135#endif
    136136
    137 #if defined(__MINGW32__) && defined(GC_DLL)
     137#if (defined(__MINGW32__) || defined(__KLIBC__)) && defined(GC_DLL)
    138138# ifdef GC_BUILD
    139139#   define GC_API __declspec(dllexport)
  • trunk/gc6.8/mallocx.c

    r132 r326  
    598598#include <limits.h>
    599599
     600#ifdef __OS2__ /* required for linking the testcase */
     601GC_API
     602#endif
    600603GC_PTR GC_memalign(size_t align, size_t lb)
    601604{
Note: See TracChangeset for help on using the changeset viewer.