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 |
Novo
Messages: 1359 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
|
|
|
Goto Forum:
Current Time: Thu May 23 17:11:31 CEST 2024
Total time taken to generate the page: 0.02197 seconds
|