diff --git a/include/bx/os.h b/include/bx/os.h index 90e4b35..939119f 100644 --- a/include/bx/os.h +++ b/include/bx/os.h @@ -48,6 +48,14 @@ # include // getcwd #endif // BX_COMPILER_MSVC +#if BX_PLATFORM_OSX +# define BX_DL_EXT "dylib" +#elif BX_PLATFORM_WINDOWS +# define BX_DL_EXT "dll" +#else +# define BX_DL_EXT "so" +#endif // + namespace bx { inline void sleep(uint32_t _ms)