diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h new file mode 100644 index 0000000..868a729 --- /dev/null +++ b/src/compat.h @@ -0,0 +1,20 @@ +/* -*- mode: c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/*************************************************************************** + * File: compat.h + * This file belongs to the Bifrost project. + * Macros for throw compatability. + * Date: Tue Feb 16 14:14:30 CET 2010 + * Author: Bent Bisballe Nyeng + * Copyright: 2010 + * Email: deva@aasimon.org + ****************************************************************************/ +#ifndef __LIBAUDIOIN_COMPAT_H__ +#define __LIBAUDIOIN_COMPAT_H__ + +#ifdef WIN32 +#define _throw(...) +#else +#define _throw(fmt...) throw(fmt) +#endif + +#endif/*__LIBAUDIOIN_COMPAT_H__*/ |