Changeset 6223 for trunk/src


Ignore:
Timestamp:
Jul 8, 2001, 5:01:09 AM (24 years ago)
Author:
bird
Message:

C++ fix for printf so that kprintf don't resolve to some memberfunction called printf... (like it did in the ModuleBase family)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/include/log.h

    r4164 r6223  
    1 /* $Id: log.h,v 1.5 2000-09-02 21:08:02 bird Exp $
     1/* $Id: log.h,v 1.6 2001-07-08 03:01:09 bird Exp $
    22 *
    33 * log - C-style logging - kprintf.
     
    4343        #include <stdarg.h>
    4444        #include "vprintf.h"
    45         #define kprintf(a)          printf a
     45        #ifdef __cplusplus
     46            #define kprintf(a)      ::printf a
     47        #else
     48            #define kprintf(a)      printf a
     49        #endif
    4650    #endif
    4751#else
Note: See TracChangeset for help on using the changeset viewer.