Ignore:
Timestamp:
Nov 25, 2011, 10:19:52 PM (14 years ago)
Author:
dmik
Message:

Make the debug version of ported DLLs build.

File:
1 edited

Legend:

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

    r21790 r21824  
    3737
    3838#ifdef DEBUG
    39 #  define ODINDEBUGCHANNEL(a) static char* pszOdinDebugChannel=#a;
    40 #  define ODINDEBUGCHANNEL1(a) static char* pszOdinDebugChannel1=#a;
     39#  define ODINDEBUGCHANNEL(a) static const char *pszOdinDebugChannel = #a;
     40#  define ODINDEBUGCHANNEL1(a) static const char *pszOdinDebugChannel1 = #a;
    4141#else
    4242#  define ODINDEBUGCHANNEL(a)
     
    6161#include <odin.h>
    6262
    63 //#ifdef __cplusplus
     63#ifdef __cplusplus
    6464extern "C" {
    65 //#endif
     65#endif
    6666
    6767// ---------------------------------------------------------------------------
     
    7575extern void              WIN32API dbg_IncThreadCallDepth(void); // kernel32
    7676extern void              WIN32API dbg_DecThreadCallDepth(void); // kernel32
    77 extern void              WIN32API dbg_ThreadPushCall(char *pszCaller);
     77extern void              WIN32API dbg_ThreadPushCall(const char *pszCaller);
    7878extern void              WIN32API dbg_ThreadPopCall();
    7979extern char*             WIN32API dbg_GetLastCallerName();
    8080
    81 //#ifdef __cplusplus
     81#ifdef __cplusplus
    8282} // extern "C"
    83 //#endif
     83#endif
    8484
    8585// ---------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.