Omer Zak <[email protected]> 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 | [email protected] _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
