Replace MACHINE/CHIP macros with compiler macros

This commit is contained in:
Arun Thomas
2012-08-06 12:55:50 +02:00
parent 5919360736
commit 6723dcfab7
27 changed files with 45 additions and 148 deletions

View File

@@ -740,7 +740,7 @@ static void test_attributes(void)
/* Verify stack hypothesis; we assume a stack is used from the top and grows
* downwards.
*/
#if (_MINIX_CHIP == _CHIP_INTEL)
#if defined(__i386__)
if (stackp[0] != MAGIC) err(11, 66); /* End of the stack */
for (i = no_ints - 1 - 16; i < no_ints; i++)
if (stackp[i] != MAGIC) stack_untouched = 0;