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

Commit b31c52f

Browse files
committed
Alias getcwd = _getcwd on Windows
1 parent 702ef00 commit b31c52f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

win32/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#define access _access
2525
#define ftruncate _chsize
26+
#define getcwd _getcwd
2627

2728
#define STDIN_FILENO 0
2829
#define STDOUT_FILENO 1

0 commit comments

Comments
 (0)