From 759f83b3d0ab7216038307f47563fc8cff37208b Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Sat, 10 Jan 2009 18:25:20 +0000 Subject: [PATCH] - Remove broken definitions of SEH macros svn path=/trunk/; revision=38683 --- reactos/include/psdk/winbase.h | 3 --- reactos/include/psdk/windef.h | 13 ------------- 2 files changed, 16 deletions(-) diff --git a/reactos/include/psdk/winbase.h b/reactos/include/psdk/winbase.h index 2b819b01655..c9207094434 100644 --- a/reactos/include/psdk/winbase.h +++ b/reactos/include/psdk/winbase.h @@ -1106,9 +1106,6 @@ LONG WINAPI _llseek(HFILE,LONG,int); HFILE WINAPI _lopen(LPCSTR,int); UINT WINAPI _lread(HFILE,LPVOID,UINT); UINT WINAPI _lwrite(HFILE,LPCSTR,UINT); -#ifndef AbnormalTermination -#define AbnormalTermination() FALSE -#endif BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,PDWORD,PDWORD,PBOOL); BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL); BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL); diff --git a/reactos/include/psdk/windef.h b/reactos/include/psdk/windef.h index 72d94367b28..4e935a030c7 100644 --- a/reactos/include/psdk/windef.h +++ b/reactos/include/psdk/windef.h @@ -256,19 +256,6 @@ extern "C" { #endif #endif -/* FIXME: This will make some code compile. The programs will most - likely crash when an exception is raised, but at least they will - compile. */ -#if defined (__GNUC__) && defined (__SEH_NOOP) -#define __try -#define __except(x) if (0) /* don't execute handler */ -#define __finally - -#define _try __try -#define _except __except -#define _finally __finally -#endif - #ifndef DWORD_DEFINED #define DWORD_DEFINED typedef unsigned long DWORD; -- 2.17.1