From 2f0fe5149fa6e6eb9fe37ebf2928151b989932ec Mon Sep 17 00:00:00 2001 From: castano Date: Tue, 3 Nov 2009 23:58:10 +0000 Subject: [PATCH] Patch posh to support freebsd. --- extern/poshlib/posh.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extern/poshlib/posh.h b/extern/poshlib/posh.h index 3a7c381..787419c 100644 --- a/extern/poshlib/posh.h +++ b/extern/poshlib/posh.h @@ -293,6 +293,11 @@ Metrowerks: # define POSH_OS_STRING "Linux" #endif +#if defined __FreeBSD__ +# define POSH_OS_FREEBSD 1 +# define POSH_OS_STRING "FreeBSD" +#endif + #if defined __CYGWIN32__ # define POSH_OS_CYGWIN32 1 # define POSH_OS_STRING "Cygwin"