projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce7c97
)
Add labs() needed for new MinGW environment
author
Gé van Geldorp
<ge@gse.nl>
Tue, 1 Apr 2003 17:14:36 +0000
(17:14 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Tue, 1 Apr 2003 17:14:36 +0000
(17:14 +0000)
svn path=/trunk/; revision=4470
reactos/lib/freetype/rosglue.c
patch
|
blob
|
history
diff --git
a/reactos/lib/freetype/rosglue.c
b/reactos/lib/freetype/rosglue.c
index
f55ceac
..
5ebd348
100644
(file)
--- a/
reactos/lib/freetype/rosglue.c
+++ b/
reactos/lib/freetype/rosglue.c
@@
-1,4
+1,4
@@
-/* $Id: rosglue.c,v 1.
1 2003/04/01 08:38:28
gvg Exp $
\r
+/* $Id: rosglue.c,v 1.
2 2003/04/01 17:14:36
gvg Exp $
\r
*
\r
* COPYRIGHT: See COPYING in the top level directory
\r
* PROJECT: FreeType implementation for ReactOS
\r
@@
-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
*