Skip to content

'timespec': 'struct' type redefinition error when compile in VS2019/17 #1

@VadymKargin

Description

@VadymKargin

Hi,

I tried to compile this in VS2019 and 2017 and it gives following error:
error C2011: 'timespec': 'struct' type redefinition

Do we have to add
#define HAVE_STRUCT_TIMESPEC
in pthread.h with a condition for VS builds?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions