scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

imaxabs.c (98B)


      1 #include <inttypes.h>
      2 
      3 #undef imaxabs
      4 
      5 intmax_t
      6 imaxabs(intmax_t n)
      7 {
      8 	return (n < 0) ? -n : n;
      9 }