File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1029,10 +1029,12 @@ int Readout::configure(const boost::property_tree::ptree& properties)
10291029 // equipment-specific method to get preferred NUMA node can not be implemented in a derived class method
10301030 // because we need info here in the equipment base class before allocating the memory
10311031 // call corresponding external function
1032- extern int getPreferredROCNumaNode (ConfigFile&, std::string);
1033- if (!cfgEquipmentType.compare (" rorc" )) {
1034- numaNode = getPreferredROCNumaNode (cfg, kName );
1035- }
1032+ #ifdef WITH_READOUTCARD
1033+ extern int getPreferredROCNumaNode (ConfigFile&, std::string);
1034+ if (!cfgEquipmentType.compare (" rorc" )) {
1035+ numaNode = getPreferredROCNumaNode (cfg, kName );
1036+ }
1037+ #endif
10361038 } else {
10371039 // try to convert value to int
10381040 int n;
You can’t perform that action at this time.
0 commit comments