Windows build fix-ups.

This commit is contained in:
Daniel Beer 2016-05-14 11:47:28 +12:00
parent 7cbc37c633
commit ffbb3eaadc
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@ else
endif endif
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
MSPDEBUG_CC = gcc MSPDEBUG_CC = $(CC)
BINARY = mspdebug.exe BINARY = mspdebug.exe
ifneq ($(UNAME_O),Cygwin) ifneq ($(UNAME_O),Cygwin)

View File

@ -19,9 +19,10 @@
#ifndef SPORT_H_ #ifndef SPORT_H_
#define SPORT_H_ #define SPORT_H_
#include <stdint.h>
#ifndef __Windows__ #ifndef __Windows__
#include <stdint.h>
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>