Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » libpq-fe.h in Alpine Linux
Re: libpq-fe.h in Alpine Linux [message #55688 is a reply to message #55661] Mon, 30 November 2020 17:22 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
This is the only problem with Alpine Linux. It can be easily fixed with the code below.
#ifdef __GNU_LIBRARY__
#include <postgresql/libpq-fe.h>
#else
#include <libpq-fe.h>
#endif

Instead of
#ifdef PLATFORM_WIN32
#include <libpq-fe.h>
#elif defined(PLATFORM_POSIX)
#include <postgresql/libpq-fe.h>
#endif


TIA


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing Database [Solved]
Next Topic: Some queries return incorrect datatypes with SqLite
Goto Forum:
  


Current Time: Sun May 12 22:48:33 CEST 2024

Total time taken to generate the page: 0.01925 seconds