From 0c835dce3bf01dc31b33311378043b3799150a64 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 24 Jun 2014 08:13:32 +0200 Subject: Import from shared project. --- src/compat.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/compat.h (limited to 'src/compat.h') 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__*/ -- cgit v1.2.3