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

Skip to content

Commit 12e89e4

Browse files
committed
Fixed to work again without USE_GUSI
1 parent 48b486b commit 12e89e4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Mac/Modules/macmodule.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6868
#undef sync
6969
int sync(void);
7070
#else
71-
#ifdef x__MWERKS__
72-
#include <unix.h>
73-
#else
71+
#define mode_t int
7472
#include <fcntl.h>
7573
#endif
76-
#endif
7774

7875
/* Optional routines, for some compiler/runtime combinations */
7976
#if defined(USE_GUSI) || !defined(__MWERKS__)

0 commit comments

Comments
 (0)