1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 19:50:31 -04:00
ports/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h
Pav Lucistnik aa16f3ce59 Log4cxx is a port to C++ of the Log4j project. The goal is have the same
functionnalities and interfaces of log4j.

PR:		ports/76287
Submitted by:	Thaddeus Covert <tcovert+ports@sahuagin.net>
2005-01-16 13:47:07 +00:00

12 lines
419 B
C

--- 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);