import winsup-2000-02-17 snapshot
This commit is contained in:
17
winsup/w32api/include/excpt.h
Normal file
17
winsup/w32api/include/excpt.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _EXCPT_H
|
||||
#define _EXCPT_H
|
||||
|
||||
/* FIXME: This will make some code compile. The programs will most
|
||||
likely crash when an exception is raised, but at least they will
|
||||
compile. */
|
||||
#ifdef __GNUC__
|
||||
#define __try
|
||||
#define __except(x) if (0) /* don't execute handler */
|
||||
#define __finally
|
||||
|
||||
#define _try __try
|
||||
#define _except __except
|
||||
#define _finally __finally
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user