Omer Zak <w...@zak.co.il> writes: > #ifdef __GNUC__ > // use getline() > #else /* __GNUC__ */ > // use gets() or fgets() > #endif /* __GNUC__ */
I am not sure what you meant here, Omer, but IIRC __GNUC__ means gcc-specific code, and the OP does not have gcc on AIX. I am probably missing something... Nor does AIX have _GNU_SOURCE, I believe. I'd say if you wrote your code with fgets() forget about getline(). -- Oleg Goldshmidt | p...@goldshmidt.org _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il