aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile1
-rw-r--r--tools/bmp_logo.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c1313a2..c191203 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -96,6 +96,7 @@ endif
#
ifeq ($(HOSTOS),cygwin)
SFX = .exe
+HOST_CFLAGS += -D__WIN32__
else
SFX =
endif
diff --git a/tools/bmp_logo.c b/tools/bmp_logo.c
index 2421b82..c473baa 100644
--- a/tools/bmp_logo.c
+++ b/tools/bmp_logo.c
@@ -11,11 +11,6 @@
#endif
#endif
-#ifdef __CYGWIN__
-typedef unsigned short ushort;
-#endif /* __CYGWIN__ */
-
-
typedef struct bitmap_s { /* bitmap description */
uint16_t width;
uint16_t height;