~ 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 "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"
|
#include "internal.h"
|
||||||
|
|
||||||
#define PERM 0666 /* access rights */
|
constexpr int PERM = 0666; /* access rights */
|
||||||
#define LOCK (-1)
|
constexpr int LOCK = -1;
|
||||||
#define UNLOCK (1)
|
constexpr int UNLOCK = 1;
|
||||||
#define SEM_KEY (123458L)
|
constexpr int SEM_KEY = 123458L;
|
||||||
|
|
||||||
//int memoryAccessKey; /* var type is int. but could be another type. */ //TODO: look after type in sharedmemory group
|
//int memoryAccessKey; /* var type is int. but could be another type. */ //TODO: look after type in sharedmemory group
|
||||||
int semId;
|
int semId;
|
||||||
|
Loading…
Reference in New Issue
Block a user