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:
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:
in the ENABLE_PGS block of CMakeLists.txt.