Changeset 158 for trunk/src


Ignore:
Timestamp:
Jan 16, 2008, 9:17:27 PM (17 years ago)
Author:
katerina
Message:

Default to +O2 with HP-UX cc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CuTest.c

    r137 r158  
    242242{
    243243        char buf[STRING_MAX];
    244         if (fabs(expected - actual) <= delta) return;
     244#define SH_FABS(a) (((a) < 0) ? -(a) : (a))
     245        if (SH_FABS(expected - actual) <= delta) return;
    245246        sprintf(buf, "expected <%lf> but was <%lf>", expected, actual);
    246247        CuFail_Line(tc, file, line, message, buf);
Note: See TracChangeset for help on using the changeset viewer.