Enable compiling on macOS 64-bit using llvm

Closes #6
This commit is contained in:
Leroy Hopson 2020-11-20 09:00:03 +07:00 committed by Leroy Hopson
parent 007182b117
commit c075ae7418
3 changed files with 26 additions and 3 deletions

View file

@ -1,9 +1,17 @@
#include "pseudoterminal.h"
#include <pty.h>
#include <unistd.h>
#include <sys/wait.h>
#include <termios.h>
// Platform specific includes.
#if defined(PLATFORM_LINUX)
#include <pty.h>
#endif
#if defined(PLATFORM_OSX)
#include <util.h>
#include <sys/ioctl.h>
#endif
using namespace godot;
void Pseudoterminal::_register_methods()