https://git.reactos.org/?p=reactos.git;a=commitdiff;h=59b3545603626f45626dc…
commit 59b3545603626f45626dcd538392750e472dcb43
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Jan 9 19:00:46 2022 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Jan 9 19:02:41 2022 +0100
[SHELL32] recyclebin.h: Correctly balance the INTERFACE defines/undefs.
---
dll/win32/shell32/shellrecyclebin/recyclebin.h | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dll/win32/shell32/shellrecyclebin/recyclebin.h
b/dll/win32/shell32/shellrecyclebin/recyclebin.h
index 63e149e265c..2fa2d00139b 100644
--- a/dll/win32/shell32/shellrecyclebin/recyclebin.h
+++ b/dll/win32/shell32/shellrecyclebin/recyclebin.h
@@ -179,9 +179,7 @@ RestoreFile(
/* COM interface */
-#undef INTERFACE
#define INTERFACE IRecycleBinFile
-
DECLARE_INTERFACE_(IRecycleBinFile, IUnknown)
{
BEGIN_INTERFACE
@@ -203,10 +201,9 @@ DECLARE_INTERFACE_(IRecycleBinFile, IUnknown)
END_INTERFACE
};
-
#undef INTERFACE
-#define INTERFACE IRecycleBinEnumList
+#define INTERFACE IRecycleBinEnumList
DECLARE_INTERFACE_(IRecycleBinEnumList, IUnknown)
{
BEGIN_INTERFACE
@@ -223,10 +220,9 @@ DECLARE_INTERFACE_(IRecycleBinEnumList, IUnknown)
END_INTERFACE
};
-
#undef INTERFACE
-#define INTERFACE IRecycleBin
+#define INTERFACE IRecycleBin
DECLARE_INTERFACE_(IRecycleBin, IUnknown)
{
BEGIN_INTERFACE
@@ -243,6 +239,7 @@ DECLARE_INTERFACE_(IRecycleBin, IUnknown)
END_INTERFACE
};
+#undef INTERFACE
EXTERN_C const IID IID_IRecycleBinFile;
EXTERN_C const IID IID_IRecycleBinEnumList;