--- libgig/trunk/src/Akai.h 2014/05/22 12:14:04 2572 +++ libgig/trunk/src/Akai.h 2014/05/22 15:17:09 2573 @@ -27,10 +27,10 @@ // for use with autoconf #ifdef HAVE_CONFIG_H -#include +# include #endif -#if !defined(_CARBON_) && !defined(_WIN32_) +#if !defined(_CARBON_) && !defined(__APPLE__) && !defined(_WIN32_) # define LINUX 1 #endif @@ -42,12 +42,14 @@ #include #include -#if LINUX +#if defined(_CARBON_) || defined(__APPLE__) || LINUX # include # include # include # include # include +#endif +#if LINUX # include #endif @@ -139,9 +141,9 @@ }*/ protected: -#ifdef _WIN32_ +#ifdef WIN32 HANDLE mFile; -#elif defined _CARBON_ || LINUX +#elif defined _CARBON_ || defined(__APPLE__) || LINUX int mFile; #endif bool mRegularFile; @@ -149,11 +151,9 @@ int mCluster; int mClusterSize; int mSize; /* in bytes */ -#if LINUX /* start and end of the data track we chose (if we're reading from CDROM) */ int mStartFrame; int mEndFrame; -#endif // LINUX char* mpCache; void OpenStream(const char* path);