Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to improve getline portability...
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 15 Dec 2009 16:33:01 +0000 (16:33 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 15 Dec 2009 16:33:01 +0000 (16:33 +0000)
commit342fcbf918c2e2e7d1a9e149722362b518d0ba9b
treeb32864a3f79c96854c178512f253e8ff56a7b0e3
parentc10856f8b672d03331459178fc3ef81a32c4f04f
Try to improve getline portability...

In the configure, you test for the presence of getline using
    #define _GNU_SOURCE
    #include <stdio.h>
So it is detected as functionnal on my machine (hardy) but if you do
not put these lines in simgrid_config.h it will break. The only thing
is that other headers may include stdio.h earlier in which case the
later _GNU_SOURCE will be useless... :(

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6893 48e7efb5-ca39-0410-a469-dd3cf9ba447f
include/simgrid_config.h.in