diff --git a/vstrt/win32.cpp b/vstrt/win32.cpp index 25f3723..b533c1f 100644 --- a/vstrt/win32.cpp +++ b/vstrt/win32.cpp @@ -13,7 +13,8 @@ #include #if NV_TENSORRT_VERSION >= 100001 -#define CONCAT_VERSION(name, version) (name "_" #version ".dll") +#define TO_STRING(x) #x +#define CONCAT_VERSION(name, version) (name "_" TO_STRING(version) ".dll") #endif // NV_TENSORRT_VERSION >= 100001 namespace {