Changeset 2898 for trunk/src/win32k/include/log.h
- Timestamp:
- Feb 25, 2000, 7:19:24 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/log.h
r1467 r2898 1 /* $Id: log.h,v 1. 3 1999-10-27 02:02:56bird Exp $1 /* $Id: log.h,v 1.4 2000-02-25 18:15:04 bird Exp $ 2 2 * 3 3 * log - C-style logging - kprintf. 4 4 * Dual mode, RING0 and RING3. 5 * Dual 16 and 32 bit. 5 6 * 6 * Copyright (c) 1998-1999 knut st. osmundsen 7 * Define NOLOGGING to disable logging for the given sourcefile or the entire system. 8 * 9 * Copyright (c) 1998-2000 knut st. osmundsen 7 10 * 8 11 * Project Odin Software License can be found in LICENSE.TXT … … 28 31 */ 29 32 #define dprintf kprintf 30 #ifdef DEBUG 31 #include <stdarg.h> 32 #include "vprintf.h" 33 #define kprintf(a) printf a 33 #if defined(DEBUG) && !defined(NOLOGGING) 34 #ifndef INCL_16 35 /* 32-bit */ 36 #include <stdarg.h> 37 #include "vprintf.h" 38 #define kprintf(a) printf a 39 #else 40 /* 16-bit */ 41 #include "vprntf16.h" 42 #define kprintf(a) printf16 a 43 #endif 34 44 #else 35 #define kprintf(a) (void)045 #define kprintf(a) (void)0 36 46 #endif 37 47
Note:
See TracChangeset
for help on using the changeset viewer.