May 26, 2003 #1 FORAND Programmer May 26, 2003 64 CA Hi there! Simple question : how can my code see if the machine it is run on is a Unix or NT. I need this to make a simple "if" if UNIX_MACHINE, use libraryXXXX.h if not use an_other_libraryXXXX.h Can you help me????
Hi there! Simple question : how can my code see if the machine it is run on is a Unix or NT. I need this to make a simple "if" if UNIX_MACHINE, use libraryXXXX.h if not use an_other_libraryXXXX.h Can you help me????
May 26, 2003 #2 xwb Programmer Jul 11, 2002 6,828 GB NT normally has a win32 header so it is something like #ifdef _WIN32 #include "windows-header" #else #include "unix header" #endif Upvote 0 Downvote
NT normally has a win32 header so it is something like #ifdef _WIN32 #include "windows-header" #else #include "unix header" #endif