You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
C++20 fixes
This commit is contained in:
@ -45,17 +45,10 @@ namespace rwlock
|
||||
/// the layout of the shmseg
|
||||
struct State
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
volatile LONG writerswaiting;
|
||||
volatile LONG writing;
|
||||
volatile LONG readerswaiting;
|
||||
volatile LONG reading;
|
||||
#else
|
||||
volatile int writerswaiting;
|
||||
volatile int writing;
|
||||
volatile int readerswaiting;
|
||||
volatile int reading;
|
||||
#endif
|
||||
int writerswaiting;
|
||||
int writing;
|
||||
int readerswaiting;
|
||||
int reading;
|
||||
boost::interprocess::interprocess_semaphore sems[3];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user