Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 1fc24d0

Browse files
committed
Emulate unistd.h for Windows
1 parent e5c5ea8 commit 1fc24d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sass.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
#if defined(_WIN32) || defined(WIN32) || defined(__WINDOWS__)
2+
#define R_OK 4
3+
#define access _access
4+
#else
15
#include <unistd.h>
6+
#endif
27
#include <Python.h>
38
#include "sass_interface.h"
49

0 commit comments

Comments
 (0)