fix mbspc linux compilation

This commit is contained in:
Garux 2019-03-15 21:41:15 +03:00
parent 0aa711ef74
commit b75d061ff0

View File

@ -97,7 +97,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define ID_INLINE __inline #define ID_INLINE __inline
#define PATH_SEP '\\' #define PATH_SEP '\\'
#if defined( __WIN64__ ) #if defined( __WIN64__ )
#define ARCH_STRING "x86_64" #define ARCH_STRING "x86_64"
#elif defined _M_ALPHA #elif defined _M_ALPHA
#define ARCH_STRING "AXP" #define ARCH_STRING "AXP"
@ -180,8 +180,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define PATH_SEP '/' #define PATH_SEP '/'
#if !defined(ARCH_STRING) #if defined __i386__
# error ARCH_STRING should be defined by the Makefile #define ARCH_STRING "i386"
#elif defined __x86_64__
#define ARCH_STRING "x86_64"
#endif #endif
#if defined __x86_64__ #if defined __x86_64__