Skip to content

Commit 19dbcc6

Browse files
committed
EPN SHM Manager: fix typo
1 parent 894c404 commit 19dbcc6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Utilities/ShmManager/src/ShmManager.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <string>
2929
#include <thread>
3030

31-
#if !defined(__MACH__) && defined(__APPLE__)
31+
#if !defined(__MACH__) && !defined(__APPLE__)
3232
#include <syscall.h>
3333
#define MPOL_DEFAULT 0
3434
#define MPOL_PREFERRED 1
@@ -70,7 +70,7 @@ struct ShmManager {
7070
uint16_t id = stoi(conf.at(0));
7171
uint64_t size = stoull(conf.at(1));
7272

73-
#if !defined(__MACH__) && defined(__APPLE__)
73+
#if !defined(__MACH__) && !defined(__APPLE__)
7474
int numaid = stoi(conf.at(2));
7575
if (numaid == -2) {
7676
LOG(info) << "Setting memory allocation to process default";
@@ -112,7 +112,7 @@ struct ShmManager {
112112
uint16_t id = stoi(conf.at(0));
113113
uint64_t size = stoull(conf.at(1));
114114

115-
#if !defined(__MACH__) && defined(__APPLE__)
115+
#if !defined(__MACH__) && !defined(__APPLE__)
116116
int numaid = stoi(conf.at(2));
117117
if (numaid == -2) {
118118
LOG(info) << "Setting memory allocation to process default";

0 commit comments

Comments
 (0)