Ticket #1527: timing.c.patch

File timing.c.patch, 526 bytes (added by rklrkl, 16 years ago)

Patch for src/putty/timing.c to allow compilation with non-gcc compilers

  • src/putty/timing.c

    old new  
    4141     * Failing that, compare on the other two fields, just so that
    4242     * we don't get unwanted equality.
    4343     */
    44 #ifdef __LCC__
    45     /* lcc won't let us compare function pointers. Legal, but annoying. */
     44#ifndef __GNUC__
     45    /* Non-gcc compilers won't let us compare function pointers. Legal, but annoying. */
    4646    {
    4747    int c = memcmp(&a->fn, &b->fn, sizeof(a->fn));
    4848    if (c < 0)