From 169da3458b8cd7d90142f276dab3b471995ee752 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 20 Jun 2009 20:53:47 +0000 Subject: [PATCH] Fix _WIN64 definition of PORT_MAXIMUM_MESSAGE_LENGTH in the NDK and only define it for NTOS_MODE_USER as it's also defined by wdm.h svn path=/branches/ros-amd64-bringup/; revision=41495 --- reactos/include/ndk/lpctypes.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/reactos/include/ndk/lpctypes.h b/reactos/include/ndk/lpctypes.h index 7586c313324..a917631dab7 100644 --- a/reactos/include/ndk/lpctypes.h +++ b/reactos/include/ndk/lpctypes.h @@ -34,7 +34,13 @@ Author: // // Maximum message size that can be sent through an LPC Port without a section // -#define PORT_MAXIMUM_MESSAGE_LENGTH 256 +#ifdef NTOS_MODE_USER +#ifdef _WIN64 +#define PORT_MAXIMUM_MESSAGE_LENGTH 512 +#else +#define PORT_MAXIMUM_MESSAGE_LENGTH 256 +#endif +#endif // // Port Object Access Masks