Skip to content

Commit 2f5bd2f

Browse files
ZERICO2005mateoconlechuga
authored andcommitted
Added i48abs to standalone_examples/math_test
1 parent f475781 commit 2f5bd2f

File tree

1 file changed

+2
-0
lines changed
  • examples/standalone_examples/math_test/src

1 file changed

+2
-0
lines changed

examples/standalone_examples/math_test/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,12 @@ static int24_t iabs(int24_t x)
9595
{
9696
return x < 0 ? (int24_t)-x : x;
9797
}
98+
#ifndef _EZ80
9899
static int48_t i48abs(int48_t x)
99100
{
100101
return x < 0 ? (int48_t)-x : x;
101102
}
103+
#endif
102104

103105

104106
#if INTERACTIVE && defined(_EZ80)

0 commit comments

Comments
 (0)