Ignore paths???

Hi there!
Have come across a somewhat unusual(?) problem regarding include paths. Hopefully some of you guys have a way to get around it. Here it is:

In a project that I'm involved in some people decided to to use a complete unix path for include files.... Like this:

#ifndef SOME_FILE__
#define SOME_FILE__
#include "/clearcase_rootdir/some_vob/subdir1/subdir2/subdir3/someFile.h"
#endif


The problem here is that I'am on a Windows XP computer and there is no access to this path under windows. The closest one can get is to map a drive letter to the M:\some_clearcase_view\ (the clearcase root in windows) but that would take me to the /subdir1/ level of the above path and not the "/clearcase_rootdir" that I want to get hold of...

Has anyone got any suggestions in how to solve the issue? Anything goes here.
Been thinking about if there are som preprocessor directive that states something like "#ignore path" to include-files and just uses the filename and the std paths specified in the environment and makefile

.. Regards
Are relative paths an option?
If they aren't, you could add "/clearcase_rootdir/some_vob/subdir1/subdir2/subdir3" to the include directories list in one system, and "<path to someFile>" in another. Then you just #include <someFile.h>
The makefiles would be a perfect place for this like any other system but for some unknown reason these guys want to hardcode the full absolute path in the headerfile itself so I need to find a way around it.
Then the only solution I see here is
1
2
3
4
5
#ifdef WINDOWS
#include <...>
#else
#include "..."
#endif 
Topic archived. No new replies allowed.