This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -771,10 +771,10 @@ class MCLinuxDesktop: public MCSystemInterface
771771 return MCN_x86_64;
772772#elif defined(__ARM__)
773773 return MCN_arm;
774- #elif defined(__I386__ )
774+ #elif defined(__i386__ )
775775 return MCN_x86;
776776#else
777- # error "One of __X86_64__, __ARM__ or __I386__ must be defined"
777+ # error "One of __X86_64__, __ARM__ or __i386__ must be defined"
778778#endif
779779 }
780780
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
6666// __LITTLE_ENDIAN__ will be defined if the target processor uses BE byte-order.
6767#undef __BIG_ENDIAN__
6868
69- // __I386__ will be defined if the target processor is i386.
70- #undef __I386__
69+ // __i386__ will be defined if the target processor is i386.
70+ #undef __i386__
7171// __X86_64__ will be defined if the target processor is x86-64.
7272#undef __X86_64__
7373// __PPC__ will be defined if the target processor is PowerPC.
@@ -124,7 +124,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
124124#if defined(_M_IX86)
125125#define __32_BIT__ 1
126126#define __LITTLE_ENDIAN__ 1
127- #define __I386__ 1
127+ #define __i386__ 1
128128#define __LP32__ 1
129129#define __SMALL__ 1
130130#elif defined(_M_X64)
@@ -162,7 +162,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
162162#if defined(__i386)
163163#define __32_BIT__ 1
164164#define __LITTLE_ENDIAN__ 1
165- #define __I386__ 1
165+ #define __i386__ 1
166166#define __LP32__ 1
167167#define __SMALL__ 1
168168#elif defined(__ppc__)
@@ -207,7 +207,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
207207#if defined(__i386)
208208#define __32_BIT__ 1
209209#define __LITTLE_ENDIAN__ 1
210- #define __I386__ 1
210+ #define __i386__ 1
211211#define __LP32__ 1
212212#define __SMALL__
213213#elif defined(__x86_64__)
@@ -249,7 +249,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
249249#if defined(__i386)
250250#define __32_BIT__ 1
251251#define __LITTLE_ENDIAN__ 1
252- #define __I386__ 1
252+ #define __i386__ 1
253253#define __LP32__ 1
254254#define __SMALL__ 1
255255#elif defined(__ppc__)
@@ -306,7 +306,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
306306#if defined(__i386)
307307#define __32_BIT__ (1 )
308308#define __LITTLE_ENDIAN__ (1 )
309- #define __I386__ (1 )
309+ #define __i386__ (1 )
310310#define __LP32__ (1 )
311311#define __SMALL__ (1 )
312312#elif defined(__x86_64__)
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class MCScriptForeignInvocation
312312 t_objc_msgSend = (void (*)())objc_msgSend_fpret;
313313 else
314314 t_objc_msgSend = (void (*)())objc_msgSend;
315- #elif defined(__I386__ )
315+ #elif defined(__i386__ )
316316 if (t_cif->rtype ->type == FFI_TYPE_STRUCT &&
317317 (t_rsize >= 8 ||
318318 (t_rsize & (t_rsize - 1 )) == 0 ))
You can’t perform that action at this time.
0 commit comments