Skip to content

MSVC2013 support #1

@bjornpiltz

Description

@bjornpiltz

Could you please add the following to sscmake.patch:
+++metis\GKlib\gk_arch.h

#ifdef __MSC__
#if _MSC_VER < 1800
/* MSC(prior to 2013) does not have rint() function */
#define rint(x) ((int)((x)+0.5))  

/* MSC(prior to 2013) does not have INFINITY defined */
#ifndef INFINITY
#define INFINITY FLT_MAX
#endif
#endif
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions