[mapguide-commits] r10113 - branches/4.0/MgDev/Oem/ACE/ACE_wrappers/ace
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Jan 5 03:18:02 PST 2025
Author: jng
Date: 2025-01-05 03:18:01 -0800 (Sun, 05 Jan 2025)
New Revision: 10113
Modified:
branches/4.0/MgDev/Oem/ACE/ACE_wrappers/ace/config.h
Log:
Patch ACE config header to assume __cpu_set_t_defined as this is erroneously false on some Linux distros we're compiling on
Modified: branches/4.0/MgDev/Oem/ACE/ACE_wrappers/ace/config.h
===================================================================
--- branches/4.0/MgDev/Oem/ACE/ACE_wrappers/ace/config.h 2024-10-29 09:22:36 UTC (rev 10112)
+++ branches/4.0/MgDev/Oem/ACE/ACE_wrappers/ace/config.h 2025-01-05 11:18:01 UTC (rev 10113)
@@ -4,6 +4,12 @@
#define ACE_USES_WCHAR
#include "ace/config-win32.h"
#else
+// MapGuide-specific change 5/1/2025:
+// For the linux distros we care to target, this may not be defined, yet the system header that
+// defines cpu_set_t is already present, so "lie" to the preprocessor
+#ifndef __cpu_set_t_defined
+#define __cpu_set_t_defined
+#endif // __cpu_set_t_defined
#define ACE_HAS_WCHAR
#define ACE_HAS_THREAD_SAFE_ACCEPT
#include "ace/config-linux.h"
More information about the mapguide-commits
mailing list