mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
Add labs() needed for new MinGW environment
svn path=/trunk/; revision=4470
This commit is contained in:
parent
0ce7c979ac
commit
db73ddbe31
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rosglue.c,v 1.1 2003/04/01 08:38:28 gvg Exp $
|
||||
/* $Id: rosglue.c,v 1.2 2003/04/01 17:14:36 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: FreeType implementation for ReactOS
|
||||
|
@ -64,6 +64,12 @@ isalnum(int c)
|
|||
return (('0' <= c && c <= '9') || ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z'));
|
||||
}
|
||||
|
||||
long
|
||||
labs(long j)
|
||||
{
|
||||
return (j < 0 ? -j : j);
|
||||
}
|
||||
|
||||
/*
|
||||
* Memory allocation
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue