~ fixed clang-tidy define errors
This commit is contained in:
parent
f5c461a05b
commit
eb3c521038
|
@ -15,10 +15,10 @@
|
|||
#include "SharedMemoryAccess.h" /* header is important for the shmID. name could be different. maybe not needed cause: (shmget(memory_access_key, NULL, 0)) */
|
||||
#include "internal.h"
|
||||
|
||||
#define PERM 0666 /* access rights */
|
||||
#define LOCK (-1)
|
||||
#define UNLOCK (1)
|
||||
#define SEM_KEY (123458L)
|
||||
constexpr int PERM = 0666; /* access rights */
|
||||
constexpr int LOCK = -1;
|
||||
constexpr int UNLOCK = 1;
|
||||
constexpr int SEM_KEY = 123458L;
|
||||
|
||||
//int memoryAccessKey; /* var type is int. but could be another type. */ //TODO: look after type in sharedmemory group
|
||||
int semId;
|
||||
|
|
Loading…
Reference in New Issue