summaryrefslogtreecommitdiffhomepage
path: root/compat/compat.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:19:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:19:01 +0200
commit350edf6e5c1f253a300fd0b7db6591082558d937 (patch)
treea6787e1e3c7243da416f1dc9828f113cbbdcbaa4 /compat/compat.h
parenta42c19579c5c7a980c2826c7e015821d2e4d4b1d (diff)
needless compat api breakage
Diffstat (limited to 'compat/compat.h')
-rw-r--r--compat/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 0e488752..490d8913 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -38,12 +38,12 @@ public:
void lock();
void unlock();
bool success();
- void* mem;
+ inline void* ptr() { return mem; }
private:
+ void* mem;
#if defined(_WIN32)
HANDLE hMutex, hMapFile;
#else
int fd, size;
- //char shm_filename[NAME_MAX];
#endif
};