Changeset 21916 for trunk/include/win/debugtools.h
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/include/win/debugtools.h
r21352 r21916 9 9 10 10 #ifndef __MISC_H__ 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 11 15 12 16 #ifdef DEBUG … … 47 51 #endif 48 52 49 int SYSTEM WriteLog(c har *tekst, ...);50 int SYSTEM WritePrivateLog(void *logfile, c har *tekst, ...);53 int SYSTEM WriteLog(const char *tekst, ...); 54 int SYSTEM WritePrivateLog(void *logfile, const char *tekst, ...); 51 55 52 56 void SYSTEM DecreaseLogCount(); 53 57 void SYSTEM IncreaseLogCount(); 58 59 #ifdef __cplusplus 60 } // extern "C" 61 #endif 54 62 55 63 #endif //__MISC_H__ … … 169 177 # define MESSAGE WriteLog 170 178 #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 181 202 #endif 182 203 #undef __GET_DEBUGGING
Note:
See TracChangeset
for help on using the changeset viewer.