X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fmountpoint.cc;h=65f011c745efa0de2f005366d3de4214985073ee;hb=e97b7bb924bd4ae6a7ca2f3c1e19dafd5294718f;hp=b2fb84760d9a4703219001cf0d5ac8a8c462161d;hpb=650964f3203319b013c49a286b5fc5fc203f3bbb;p=ardour.git diff --git a/libs/pbd/mountpoint.cc b/libs/pbd/mountpoint.cc index b2fb84760d..65f011c745 100644 --- a/libs/pbd/mountpoint.cc +++ b/libs/pbd/mountpoint.cc @@ -17,7 +17,7 @@ $Id$ */ - +#ifndef COMPILER_MSVC #include #include #include @@ -94,7 +94,7 @@ mountpoint (string path) return best; } -#elif defined(WIN32) +#elif defined(PLATFORM_WINDOWS) string mountpoint (string path) @@ -172,3 +172,7 @@ main (int argc, char *argv[]) } #endif // TEST_MOUNTPOINT + +#else // COMPILER_MSVC + const char* pbd_mountpoint = "pbd/msvc/mountpoint.cc takes precedence over this file"; +#endif // COMPILER_MSVC