win-pvdrivers

changeset 393:b8380915c051

fix xennet build on mingw
author Andy Grover <andy.grover@oracle.com>
date Tue Jul 15 20:37:30 2008 -0700 (2008-07-15)
parents acff0605d6d6
children 099b6e3f3909 f001a0f08c17
files common/include/xen_windows.h
line diff
     1.1 --- a/common/include/xen_windows.h	Tue Jul 15 20:31:24 2008 -0700
     1.2 +++ b/common/include/xen_windows.h	Tue Jul 15 20:37:30 2008 -0700
     1.3 @@ -66,7 +66,8 @@ typedef unsigned long xenbus_transaction
     1.4  #define FUNCTION_ERROR_EXIT() KdPrint((__DRIVER_NAME " <-- %s (error path)\n", __FUNCTION__))
     1.5  #define FUNCTION_CALLED()     KdPrint((__DRIVER_NAME " %s called\n", __FUNCTION__))
     1.6  #ifdef __MINGW32__
     1.7 -#define FUNCTION_MSG(format, args...) KdPrint((__DRIVER_NAME " %s called: " format, __FUNCTION__, ##args))
     1.8 +#define FUNCTION_MSG(_x) _FUNCTION_MSG _x
     1.9 +#define _FUNCTION_MSG(format, args...) KdPrint((__DRIVER_NAME " %s called: " format, __FUNCTION__, ##args))
    1.10  #else
    1.11  #define FUNCTION_MSG(_x)     {  \
    1.12      KdPrint((__DRIVER_NAME " %s called: ", __FUNCTION__));          \