From ed6e3f75d2ba9087f99618610ba5b7942b701498 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 3 Apr 2013 08:43:21 -0700 Subject: [PATCH] Fix to build on HPUX with the HP C compiler which doesn't define __unix --- sim_serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_serial.h b/sim_serial.h index b66f8219..463f8065 100644 --- a/sim_serial.h +++ b/sim_serial.h @@ -46,7 +46,7 @@ #define INVALID_HANDLE INVALID_HANDLE_VALUE #endif /* !defined(INVALID_HANDLE) */ -#elif defined (__unix__) || defined(__APPLE__) /* UNIX definitions */ +#elif defined (__unix__) || defined (__APPLE__) || defined (__hpux) /* UNIX definitions */ #include #ifdef __hpux