When compiling a program is there a way to tell the compilation process whether its compiling for windows or linux? To be more specific about this, the issue is with file directories and the usage of either the "/" or "\" in a directory statement. What I would like to do is assign a path statement to a variable, this path statement would be different for windows or linux, but is there a way to have the compiler use one of the two path statements? Depending on whether this is windows or linux?