blob: 90bf90af038dc03f1334a966932a8f173a9786e8 [file] [log] [blame] [edit]
--- a/src/spandsp/telephony.h
+++ b/src/spandsp/telephony.h
@@ -26,7 +26,7 @@
#if !defined(_SPANDSP_TELEPHONY_H_)
#define _SPANDSP_TELEPHONY_H_
-#if defined(_M_IX86) || defined(_M_X64)
+#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64)
#if defined(LIBSPANDSP_EXPORTS)
#define SPAN_DECLARE(type) __declspec(dllexport) type __stdcall
#define SPAN_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl