From 6aed8b6dbd371f68ed60b8412b84b5d53d982618 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Fri, 14 Nov 2003 14:12:29 +0000 Subject: [PATCH] get rid of buggy unnecessary macro svn path=/trunk/; revision=6642 --- reactos/include/ntos/zwtypes.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/reactos/include/ntos/zwtypes.h b/reactos/include/ntos/zwtypes.h index b7bd0635d3a..4c88efec489 100755 --- a/reactos/include/ntos/zwtypes.h +++ b/reactos/include/ntos/zwtypes.h @@ -604,17 +604,17 @@ typedef struct _MEMORY_WORKING_SET_LIST { // Information Class 1 } MEMORY_WORKING_SET_LIST, *PMEMORY_WORKING_SET_LIST; // Information Class 2 -#define _MEMORY_SECTION_NAME_STATIC(__bufsize__) \ +/*#define _MEMORY_SECTION_NAME_STATIC(__bufsize__) \ { \ UNICODE_STRING SectionFileName; \ WCHAR NameBuffer[(__bufsize__)]; \ -} +}*/ -#define MEMORY_SECTION_NAME_STATIC(__bufsize__) \ - struct _MEMORY_SECTION_NAME_STATIC((__bufsize__) - -typedef struct _MEMORY_SECTION_NAME_STATIC(ANYSIZE_ARRAY) - MEMORY_SECTION_NAME, *PMEMORY_SECTION_NAME; +typedef struct +{ + UNICODE_STRING SectionFileName; + WCHAR NameBuffer[ANYSIZE_ARRAY]; +} MEMORY_SECTION_NAME, *PMEMORY_SECTION_NAME; // Information class 0 typedef struct _PROCESS_BASIC_INFORMATION