ultimatepp/bazaar/plugin/tcc/include/excpt.h
koldo e14e3b4aac tcc: Moving it to Bazaar/plugin (2)
git-svn-id: svn://ultimatepp.org/upp/trunk@3781 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-08-25 21:07:51 +00:00

20 lines
425 B
C

#ifndef _EXCPT_H
#define _EXCPT_H
#if __GNUC__ >=3
#pragma GCC system_header
#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. */
#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