#ifndef _WINHELPER_H #define _WINHELPER_H #ifdef _WIN32 static constexpr int RTLD_LAZY = 1; void* dlopen(const char*, int); void* dlsym(void*, const char*); int dlclose(void*); int dlerror(); struct SharedMemory { void* hFileMap; void* pData; SharedMemory(const char*); void FreeMemoryMap(); }; #endif #endif