We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e6ea2 commit 29289bbCopy full SHA for 29289bb
context.cpp
@@ -1,8 +1,10 @@
1
#ifdef _WIN32
2
#include <direct.h>
3
#define getcwd _getcwd
4
+#define PATH_SEP ';'
5
#else
6
#include <unistd.h>
7
+#define PATH_SEP ':'
8
#endif
9
10
#include <cstring>
@@ -27,7 +29,7 @@ namespace Sass {
27
29
28
30
if (paths_str) {
31
const char* beg = paths_str;
- const char* end = Prelexer::find_first<':'>(beg);
32
+ const char* end = Prelexer::find_first<PATH_SEP>(beg);
33
34
while (end) {
35
string path(beg, end - beg);
@@ -36,7 +38,7 @@ namespace Sass {
36
38
include_paths.push_back(path);
37
39
}
40
beg = end + 1;
- end = Prelexer::find_first<':'>(beg);
41
+ end = Prelexer::find_first<PATH_SEP>(beg);
42
43
44
string path(beg);
0 commit comments