mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Fix broken auto-resource-dir detection
This commit is contained in:
parent
934c20312a
commit
002d32c8a0
@ -19,8 +19,9 @@
|
|||||||
#include <sparsepp/spp_memory.h>
|
#include <sparsepp/spp_memory.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _STRINGIFY(x) #x
|
//#define _STRINGIFY(x) #x
|
||||||
#define ENSURE_STRING_MACRO_ARGUMENT(x) _STRINGIFY(x)
|
//#define ENSURE_STRING_MACRO_ARGUMENT(x) _STRINGIFY(x)
|
||||||
|
#define ENSURE_STRING_MACRO_ARGUMENT(x) x
|
||||||
|
|
||||||
// See http://stackoverflow.com/a/217605
|
// See http://stackoverflow.com/a/217605
|
||||||
void TrimStart(std::string& s) {
|
void TrimStart(std::string& s) {
|
||||||
@ -395,4 +396,4 @@ std::string GetDefaultResourceDirectory() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return NormalizePath(result);
|
return NormalizePath(result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user