diff options
Diffstat (limited to 'compat/compat.h')
| -rw-r--r-- | compat/compat.h | 4 | 
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  }; | 
