Author: cgutman
Date: Wed Nov 3 00:19:05 2010
New Revision: 49454
URL:
http://svn.reactos.org/svn/reactos?rev=49454&view=rev
Log:
[LWIP]
- Commit a forgotten change from r49426
Modified:
branches/tcp-rewrite-branch/lib/drivers/lwip/src/include/arch/cc.h
Modified: branches/tcp-rewrite-branch/lib/drivers/lwip/src/include/arch/cc.h
URL:
http://svn.reactos.org/svn/reactos/branches/tcp-rewrite-branch/lib/drivers/…
==============================================================================
--- branches/tcp-rewrite-branch/lib/drivers/lwip/src/include/arch/cc.h [iso-8859-1]
(original)
+++ branches/tcp-rewrite-branch/lib/drivers/lwip/src/include/arch/cc.h [iso-8859-1] Wed
Nov 3 00:19:05 2010
@@ -51,11 +51,9 @@
#define LWIP_PLATFORM_ASSERT(x) ASSERTMSG(x, FALSE)
/* Synchronization */
-#define SYS_ARCH_DECL_PROTECT(lev) \
- sys_prot_t lev; \
- sys_arch_decl_protect(&lev)
-#define SYS_ARCH_PROTECT(lev) sys_arch_protect(&lev)
-#define SYS_ARCH_UNPROTECT(lev) sys_arch_unprotect(&lev)
+#define SYS_ARCH_DECL_PROTECT(lev) sys_prot_t (lev)
+#define SYS_ARCH_PROTECT(lev) sys_arch_protect(&(lev))
+#define SYS_ARCH_UNPROTECT(lev) sys_arch_unprotect(lev)
/* Compiler hints for packing structures */
#define PACK_STRUCT_STRUCT