• Tom Lane's avatar
    Do not build psql's flex module on its own, but instead include it in · 90bfe999
    Tom Lane authored
    mainloop.c.  This ensures that postgres_fe.h is read before including
    any system headers, which is necessary to avoid problems on some platforms
    where we make nondefault selections of feature macros for stdio.h or
    other headers.  We have had this policy for flex modules in the backend
    for many years, but for some reason it was not applied to psql.
    Per trouble report from Alexandra Roy and diagnosis by Albe Laurenz.
    90bfe999
mainloop.c 10.9 KB