- reshuffled some stuff to satisfy Linux compilers (hopefully)

This commit is contained in:
Christoph Oelckers 2015-04-27 13:19:34 +02:00
parent d46ba7bfb7
commit 47e7a30cab
3 changed files with 9 additions and 2 deletions

View file

@ -26,7 +26,14 @@ inline int CheckException(DWORD code)
#else
#ifdef __try
#undef __try
#endif
#define __try
#ifdef __except
#undef __except
#endif
#define __except(a) if (0)
#endif

View file

@ -3,10 +3,10 @@
#include <windows.h>
#define USE_WINDOWS_DWORD
#endif
#include "except.h"
#include "mpg123_decoder.h"
#include "files.h"
#include "except.h"
#ifdef HAVE_MPG123
static bool inited = false;

View file

@ -3,12 +3,12 @@
#include <windows.h>
#define USE_WINDOWS_DWORD
#endif
#include "except.h"
#include "sndfile_decoder.h"
#include "templates.h"
#include "files.h"
#include "xs_Float.h"
#include "except.h"
#ifdef HAVE_SNDFILE