lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thank you craig, that solved it! :)
(Well, that and not shadowing the function by accidentally naming an int "fileno"..)

Craig Barnes <craigbarnes85@gmail.com> wrote:
> Now, I have a new problem which is all C: fileno won't load from stdio.h,
even if I #define __USE_POSIX as the file appears to suggest..

I don't expect answers to my new problem as it's not Lua specific but would
still be grateful! :)

Try this:

#define _POSIX_C_SOURCE 1


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.