Cygwin

I have installed Cygwin along with mingw (for windows). Now when I #include <tchar.h>, what ever function from tchar.h I use, gcc generates an error: first define xyz function first.
Anyone has an idea how to compile this file?
Last edited on
Why do you need tchar.h? Isn't that a Windows header file?
Actually, it is. Cygwin doesn't include Windows headers.
MuneebShakoor: Don't you mean wchar.h?
Topic archived. No new replies allowed.