Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/include/win/debugtools.h

    r21352 r21916  
    99
    1010#ifndef __MISC_H__
     11
     12#ifdef __cplusplus
     13extern "C" {
     14#endif
    1115
    1216#ifdef DEBUG
     
    4751#endif
    4852
    49 int  SYSTEM WriteLog(char *tekst, ...);
    50 int  SYSTEM WritePrivateLog(void *logfile, char *tekst, ...);
     53int  SYSTEM WriteLog(const char *tekst, ...);
     54int  SYSTEM WritePrivateLog(void *logfile, const char *tekst, ...);
    5155
    5256void SYSTEM DecreaseLogCount();
    5357void SYSTEM IncreaseLogCount();
     58
     59#ifdef __cplusplus
     60} // extern "C"
     61#endif
    5462
    5563#endif //__MISC_H__
     
    169177#  define MESSAGE WriteLog
    170178#else
    171 #  define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    172 #  define TRACE_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    173 #  define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    174 #  define FIXME_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    175 #  define WARN  1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    176 #  define WARN_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    177 #  define ERR_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    178 #  define ERR  1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    179 #  define DPRINTF   1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    180 #  define MESSAGE   1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
     179#ifdef __GNUC__
     180#  define TRACE 1 ? (void) 0 : (void)
     181#  define TRACE_(ch) 1 ? (void) 0 : (void)
     182#  define FIXME  1 ? (void) 0 : (void)
     183#  define FIXME_(ch) 1 ? (void) 0 : (void)
     184#  define WARN 1 ? (void) 0 : (void)
     185#  define WARN_(ch) 1 ? (void) 0 : (void)
     186#  define ERR_(ch) 1 ? (void) 0 : (void)
     187#  define ERR 1 ? (void) 0 : (void)
     188#  define DPRINTF 1 ? (void) 0 : (void)
     189#  define MESSAGE 1 ? (void) 0 : (void)
     190#else
     191#  define TRACE 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     192#  define TRACE_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     193#  define FIXME 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     194#  define FIXME_(ch) 1 ? (void)0 : (void)((int (*)(constchar *, ...)) NULL)
     195#  define WARN  1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     196#  define WARN_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     197#  define ERR_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     198#  define ERR  1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     199#  define DPRINTF   1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     200#  define MESSAGE   1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     201#endif
    181202#endif
    182203#undef __GET_DEBUGGING
Note: See TracChangeset for help on using the changeset viewer.