Skip to content

Commit bf4a5ee

Browse files
committed
SF#102 Fix building Poco on Debian GNU/kFreeBSD
1 parent d8397b9 commit bf4a5ee

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎Foundation/include/Poco/Platform.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#define POCO_OS_VMS 0x2001
6666

6767

68-
#if defined(__FreeBSD__)
68+
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
6969
#define POCO_OS_FAMILY_UNIX 1
7070
#define POCO_OS_FAMILY_BSD 1
7171
#define POCO_OS POCO_OS_FREE_BSD

‎Foundation/src/NamedEvent_UNIX.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
namespace Poco {
5353

5454

55-
#if (POCO_OS == POCO_OS_LINUX) || (POCO_OS == POCO_OS_CYGWIN)
55+
#if (POCO_OS == POCO_OS_LINUX) || (POCO_OS == POCO_OS_CYGWIN) || (POCO_OS == POCO_OS_FREE_BSD)
5656
union semun
5757
{
5858
int val;

‎Foundation/src/NamedMutex_UNIX.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
namespace Poco {
5353

5454

55-
#if (POCO_OS == POCO_OS_LINUX) || (POCO_OS == POCO_OS_CYGWIN)
55+
#if (POCO_OS == POCO_OS_LINUX) || (POCO_OS == POCO_OS_CYGWIN) || (POCO_OS == POCO_OS_FREE_BSD)
5656
union semun
5757
{
5858
int val;

‎components‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ NetSSL_OpenSSL
99
Data
1010
Data/SQLite
1111
Data/ODBC
12-
#Data/MySQL
12+
Data/MySQL
1313
Zip
1414
PageCompiler
1515
PageCompiler/File2Page
16-
#ApacheConnector
16+
ApacheConnector
1717
PDF
1818
CppParser
1919
PocoDoc

0 commit comments

Comments
 (0)