summaryrefslogtreecommitdiff
path: root/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h
blob: b3a869f095420d3b524da4d797cbd2418ffe11a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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);