ports/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
Jose Alonso Cardenas Marquez eb5e6cefd8 - Update firebird25 to 2.5.1
2011-10-19 22:26:38 +00:00

11 lines
455 B
C++

--- src/jrd/isc_sync.cpp 2011-08-30 08:48:04.000000000 -0500
+++ src/jrd/isc_sync.cpp 2011-10-19 15:00:50.000000000 -0500
@@ -320,7 +320,7 @@
public:
const static int N_FILES = 8;
const static int N_SETS = 256;
-#if defined(DEV_BUILD)
+#if defined(DEV_BUILD) || defined(FREEBSD)
const static int SEM_PER_SET = 4; // force multiple sets allocation
#else
const static int SEM_PER_SET = 31; // hard limit for some old systems, might set to 32