diff options
Diffstat (limited to 'devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h')
| -rw-r--r-- | devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h b/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h new file mode 100644 index 000000000000..b3a869f09542 --- /dev/null +++ b/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h @@ -0,0 +1,12 @@ +--- include/log4cxx/helpers/tchar.h.orig Wed Jan 12 17:56:51 2005 ++++ include/log4cxx/helpers/tchar.h Wed Jan 12 17:57:04 2005 +@@ -83,6 +83,9 @@ + #include <malloc.h> + #define USES_CONVERSION void * _dst = _alloca(1024); + #endif ++#elif defined( __FreeBSD__ ) ++ #include <stdlib.h> ++ #define USES_CONVERSION void * _dst = alloca(1024); + #else + #include <alloca.h> + #define USES_CONVERSION void * _dst = alloca(1024); |
