D
David
I have an #include file (A) that calls another #include file (B) -
including the directory path that it is to be found on.
The files live in a unix system - people compile using a samba share,
so that the files appear to be on a locally attached PC drive.
However, when we have problems with samba (as we do from time to time)
they need to access these include files via a network link.
So, the path to #include B is coded something like #include
"S:/test/includeb" and this no longer works when accessed via a
network link as the S: drive is no longer available. Via the network
link the path would be something like \\fstest1\test\includeb
How can I change the call to include B so that it works in both cases?
including the directory path that it is to be found on.
The files live in a unix system - people compile using a samba share,
so that the files appear to be on a locally attached PC drive.
However, when we have problems with samba (as we do from time to time)
they need to access these include files via a network link.
So, the path to #include B is coded something like #include
"S:/test/includeb" and this no longer works when accessed via a
network link as the S: drive is no longer available. Via the network
link the path would be something like \\fstest1\test\includeb
How can I change the call to include B so that it works in both cases?