Skip to content

Commit

Permalink
vstrt/win32.cpp: fix macro implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Apr 25, 2024
1 parent 15bbf8f commit ed222e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vstrt/win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#include <NvInferRuntime.h>

#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 {
Expand Down

0 comments on commit ed222e2

Please sign in to comment.