Changeset 21826 for branches/gcc-kmk/src


Ignore:
Timestamp:
Nov 29, 2011, 10:49:58 AM (14 years ago)
Author:
dmik
Message:

Don't use _Optlink for _LNK_CONV under GCC.

_LNK_CONV is mainly used for ucreate() callbacks which are
cdecl in GCC.

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

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/odincrt/malloc.cpp

    r21823 r21826  
    1616
    1717// currently, it's a dumb stub
    18 void _LNK_CONV getcrtstat(unsigned long *pnrcalls_malloc,
    19                           unsigned long *pnrcalls_free,
    20                           unsigned long *ptotalmemalloc)
     18void SYSTEM getcrtstat(unsigned long *pnrcalls_malloc,
     19                       unsigned long *pnrcalls_free,
     20                       unsigned long *ptotalmemalloc)
    2121{
    2222    *pnrcalls_malloc = nrcalls_malloc;
  • branches/gcc-kmk/src/odincrt/malloc_vac.cpp

    r21794 r21826  
    2525unsigned long totalmemalloc  = 0;
    2626
    27 void _LNK_CONV getcrtstat(unsigned long *pnrcalls_malloc,
    28                           unsigned long *pnrcalls_free,
    29                           unsigned long *ptotalmemalloc)
     27void SYSTEM getcrtstat(unsigned long *pnrcalls_malloc,
     28                       unsigned long *pnrcalls_free,
     29                       unsigned long *ptotalmemalloc)
    3030{
    3131    *pnrcalls_malloc = nrcalls_malloc;
Note: See TracChangeset for help on using the changeset viewer.