From d991c43b73fa9eecfa2a116c5adba0414b99f73a Mon Sep 17 00:00:00 2001 From: Couriersud Date: Tue, 19 Jan 2010 21:53:06 +0000 Subject: [PATCH] Add OS/2 autodetect to makefile --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index 0682a589879..9791cd9e23f 100644 --- a/makefile +++ b/makefile @@ -67,6 +67,11 @@ TARGETOS = win32 else ifneq ($(CROSSBUILD),1) + +ifneq ($(OS2_SHELL),) +TARGETOS = win32 +else + UNAME = $(shell uname -a) ifeq ($(firstword $(filter Linux,$(UNAME))),Linux) @@ -106,6 +111,7 @@ BIGENDIAN=1 endif endif # BIGENDIAN +endif # OS/2 endif # CROSS_BUILD endif # Windows_NT