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
Remove windows ifdefs
This commit is contained in:
@ -37,11 +37,7 @@
|
||||
#include <boost/interprocess/sync/interprocess_semaphore.hpp>
|
||||
#include <boost/date_time/posix_time/posix_time.hpp>
|
||||
|
||||
#if defined(_MSC_VER) && defined(xxxRWLOCK_DLLEXPORT)
|
||||
#define EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define EXPORT
|
||||
#endif
|
||||
|
||||
namespace rwlock
|
||||
{
|
||||
@ -64,19 +60,11 @@ class RWLockMonitor
|
||||
*/
|
||||
struct LockState
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
LONG writerswaiting;
|
||||
LONG writing;
|
||||
LONG readerswaiting;
|
||||
LONG reading;
|
||||
bool mutexLocked;
|
||||
#else
|
||||
int writerswaiting;
|
||||
int writing;
|
||||
int readerswaiting;
|
||||
int reading;
|
||||
bool mutexLocked;
|
||||
#endif
|
||||
};
|
||||
|
||||
class RWLockShmImpl
|
||||
|
Reference in New Issue
Block a user