Ignore:
Timestamp:
Nov 3, 2011, 5:46:14 PM (14 years ago)
Author:
dmik
Message:

Workaround stdcall bug in GCC related to vararg functions.

This can be easily removed once GCC gets fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/odin.h

    r21738 r21787  
    171171#endif
    172172
    173 
     173#ifdef __GNUC__
     174// __stdcall in GCC for OS/2 incorrectly mangles vararg functions; according to
     175// MSDN, they should be equal to __cdecl instead of getting the @N suffix
     176#define WIN32API_VA __cdecl
     177#else
     178#define WIN32API_VA WIN32API
     179#endif
    174180
    175181#endif /* _ODIN_H_*/
Note: See TracChangeset for help on using the changeset viewer.