Add labs() needed for new MinGW environment

svn path=/trunk/; revision=4470
This commit is contained in:
Gé van Geldorp 2003-04-01 17:14:36 +00:00
parent 0ce7c979ac
commit db73ddbe31

View file

@ -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
*