1
0
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:
Leonid Fedorov
2023-03-02 15:59:42 +00:00
parent 123c345b40
commit 56f2346083
328 changed files with 9 additions and 19602 deletions

View File

@ -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