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 993abe3 commit e31cb75Copy full SHA for e31cb75
document.cpp
@@ -6,6 +6,7 @@
6
#include <iostream>
7
#include <sstream>
8
#include <sys/stat.h>
9
+#include <unistd.h>
10
11
namespace Sass {
12
win32/unistd.h
@@ -9,8 +9,9 @@
#include <stdlib.h>
#include <io.h>
-#include <process.h> /* for getpid() and the exec..() family */
13
-#include <direct.h> /* for _getcwd() */
+#include <process.h> /* for getpid() and the exec..() family */
+#include <direct.h> /* for _getcwd() */
14
+#include <sys/stat.h> /* for _S_IFDIR */
15
16
#define srandom srand
17
#define random rand
@@ -25,6 +26,7 @@
25
26
#define access _access
27
#define ftruncate _chsize
28
#define getcwd _getcwd
29
+#define S_ISDIR(B) ((B)&_S_IFDIR)
30
31
#define STDIN_FILENO 0
32
#define STDOUT_FILENO 1
0 commit comments