- Remove broken definitions of SEH macros
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 10 Jan 2009 18:25:20 +0000 (18:25 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 10 Jan 2009 18:25:20 +0000 (18:25 +0000)
svn path=/trunk/; revision=38683

reactos/include/psdk/winbase.h
reactos/include/psdk/windef.h

index 2b819b0..c920709 100644 (file)
@@ -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);
index 72d9436..4e935a0 100644 (file)
@@ -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;