- svchost: #ifdef _MSC_VER doesn't mean "using Microsoft's headers" anymore
authorStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 21 Aug 2009 15:57:26 +0000 (15:57 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 21 Aug 2009 15:57:26 +0000 (15:57 +0000)
commit43b07d3f6a95e047d2140cd2bd08a06688bfa491
tree22499fe75dd4e4ccbf69b56d0738c8e66a59c481
parentfb91ab63f50563ec215649f78a6e2aaff6125ca0
- svchost: #ifdef _MSC_VER doesn't mean "using Microsoft's headers" anymore
- ddraw, imm32, msxml3, oleaut32, riched20: Include typeof.h for typeof emulation when compiling under MSVC and remove from ReactOS-generic.rbuild (this can't go to port.h as the modules do not include it).
- TCPIP: Fix a check for MSVC.
- NDIS: Don't use floating point arithmetics in kernel mode -- spotted by MSVC trying to link to ftol (gcc inlined the operation).
- SAMLIB: Use __VA_ARGS__ instead of gcc-specific macro manipulation.
- WIN32CSR: Don't use gcc-specific \% if you want % in the string -- this is incorrect and will pass a broken string to swprintf (the code seems to be uncalled though, so this shouldn't change anything). Use %% instead.
- Error out on MSVC implementation of logb -- it doesn't produce the same code as the gcc version.
- Rename gcc's float.h to gcc_float.h and use #include instead of #include_next for consistency.
- Remove leftover header guard from types.h
- Remove superfluous brackets from PSEH2->MSVC defines -- this isn't necessary anymore after 41597
- Correction to 42216: MSVC *does* let you define types in a function, but only at the top of scope. Move back the C_ASSERT into KiAcquireGuardedMutex.
- Simplify definition of alloca
- scripts.cpp: Silence unavoidable warning.
- Remove compile time warning from Uniata -- the code has been unused for 1 1/2 years and will probably remain so.

svn path=/trunk/; revision=42829
20 files changed:
reactos/ReactOS-generic.rbuild
reactos/base/services/svchost/svchost.h
reactos/dll/directx/wine/ddraw/ddraw.rbuild
reactos/dll/win32/imm32/imm32.rbuild
reactos/dll/win32/msxml3/msxml3.rbuild
reactos/dll/win32/oleaut32/oleaut32.rbuild
reactos/dll/win32/riched20/riched20.rbuild
reactos/dll/win32/samlib/debug.h
reactos/drivers/network/ndis/ndis/config.c
reactos/drivers/network/tcpip/tcpip/dispatch.c
reactos/drivers/storage/ide/uniata/id_sata.cpp
reactos/include/crt/float.h
reactos/include/crt/malloc.h
reactos/include/crt/mingw32/gcc_float.h [moved from reactos/include/crt/mingw32/float.h with 100% similarity]
reactos/include/crt/sys/types.h
reactos/include/reactos/libs/pseh/pseh2.h
reactos/lib/nls/scripts/scripts.cpp
reactos/lib/sdk/crt/float/i386/logb.c
reactos/ntoskrnl/ke/wait.c
reactos/subsystems/win32/csrss/win32csr/guiconsole.c