We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b3f52 commit d77b75cCopy full SHA for d77b75c
1 file changed
simplecpp.cpp
@@ -2385,6 +2385,11 @@ namespace simplecpp {
2385
namespace simplecpp {
2386
2387
#ifdef __CYGWIN__
2388
+ static bool startsWith(const std::string &s, const std::string &p)
2389
+ {
2390
+ return (s.size() >= p.size()) && std::equal(p.begin(), p.end(), s.begin());
2391
+ }
2392
+
2393
std::string convertCygwinToWindowsPath(const std::string &cygwinPath)
2394
{
2395
std::string windowsPath;
0 commit comments