Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redefinition of struct timespec (PostgreSQL vs mingw-w64) #11

Closed
iwbnwif opened this issue Oct 20, 2015 · 1 comment
Closed

Redefinition of struct timespec (PostgreSQL vs mingw-w64) #11

iwbnwif opened this issue Oct 20, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@iwbnwif
Copy link
Contributor

iwbnwif commented Oct 20, 2015

This is not really a wxDatabase issue, but a PostgreSQL / mingw-w64 issue. I am including it here because it prevents wxDatabase from building and there is not much help on Google at the moment.

Basically both PostgreSQL pthread.h and mingw-w64 gthr.h define the struct timespec.

The workaround from a wxDatabase perspective is to include:

    add_definitions(-DHAVE_STRUCT_TIMESPEC)

in the ENABLE_PGS block of CMakeLists.txt.

@mtangoo
Copy link
Owner

mtangoo commented Oct 20, 2015

Thanks for reporting. I will add that today in a new commit I want to make. I hope you will test to see that the issue does not exist

@mtangoo mtangoo added the bug label Oct 20, 2015
@mtangoo mtangoo added this to the 1.0 milestone Oct 20, 2015
@mtangoo mtangoo self-assigned this Oct 20, 2015
@mtangoo mtangoo mentioned this issue Oct 20, 2015
@mtangoo mtangoo closed this as completed Oct 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants