• Raphael Kubo da Costa's avatar
    Tune the definitions needed when building with -ansi. · 4c148e5f
    Raphael Kubo da Costa authored
    The current definitions were mostly useful to glibc and followed its
    feature_test_macros(3) documentation.
    
    However, this means other platforms still had problems when building with
    strict compilation flags. _BSD_SOURCE, for example, is only recognized by
    glibc, and other platforms sometimes need _XOPEN_SOURCE instead, or even the
    removal of some definitions (such as the outdate _POSIX_SOURCE one).
    
    _POSIX_SOURCE also had to be conditionally defined in some places, as what
    it enables or disables during compilation varies across systems.
    4c148e5f
Name
Last commit
Last update
..
Makefile.am Loading commit data...
corre.c Loading commit data...
cursor.c Loading commit data...
hextile.c Loading commit data...
listen.c Loading commit data...
rfbproto.c Loading commit data...
rre.c Loading commit data...
sockets.c Loading commit data...
tight.c Loading commit data...
tls.h Loading commit data...
tls_gnutls.c Loading commit data...
tls_none.c Loading commit data...
tls_openssl.c Loading commit data...
ultra.c Loading commit data...
vncviewer.c Loading commit data...
zlib.c Loading commit data...
zrle.c Loading commit data...