mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Add labs() needed for new MinGW environment
svn path=/trunk/; revision=4470
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user