Well I am writting some code, you tell me what should the compiler do when I compile it. As earlier I told you about I am working on a LINUX machine.
CODE: #ifdef LINUX #include <sys/socket.h> #else // !(LINUX) #include <winsock.h> #endif // LINUX END I think you understand this simple code, I want to open the socket.h header when I am under LINUX and winsock.h header when I am working on the WINDOWS machine. So what the compiler did to me, is that, it was trying to open the winsock.h header instead of socket.h. As when I wrote the makefile mannually, It works fine. Thanx -- Regards: Adnan Shaheen. +92-333-962-7637 Software Engineer, AyeSoft,Islamabad, Pakistan.
