Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c63770

Browse files
committed
Ported to CodeWarrior
1 parent f93c72a commit 0c63770

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Mac/Compat/getwd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929

3030
#include "macdefs.h"
31-
#ifdef MPW
31+
#if defined(MPW) || defined(__MWERKS__)
3232
#include <Strings.h>
3333
#endif
3434

Mac/Include/macdefs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#include <pascal.h>
1212
#endif
1313

14+
#ifdef __MWERKS__
15+
#include "errno_unix.h"
16+
#endif
1417
#include <errno.h>
1518
#include <string.h>
1619

0 commit comments

Comments
 (0)