File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)
190190#define PYBIND11_NONLIMITEDAPI_LIB_SUFFIX_FOR_MODULE nullptr
191191#endif
192192
193- // This is a single `| `-separated string.
193+ // This is a single `@ `-separated string.
194194// Would normally use a comma-separated list of strings, but nvcc chokes on it (considers `-DA=B,C` to mean `-DA=B -DC`).
195195#ifndef PYBIND11_NONLIMITEDAPI_SHIM_PATHS_RELATIVE_TO_LIBRARY_DIR
196196#define PYBIND11_NONLIMITEDAPI_SHIM_PATHS_RELATIVE_TO_LIBRARY_DIR " "
@@ -240,7 +240,7 @@ PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)
240240 { \
241241 while (true ) \
242242 { \
243- auto pos = v.find_first_of (' | ' ); /* Using a weird separator because nvcc chokes on commas (considers `-DA=B,C` to mean `-DA=B -DC`) */ \
243+ auto pos = v.find_first_of (' @ ' ); /* Using a weird separator because nvcc chokes on commas (considers `-DA=B,C` to mean `-DA=B -DC`) */ \
244244 suffixes.emplace_back (v.substr (0 , pos)); \
245245 if (pos == std::string_view::npos) \
246246 break ; \
You can’t perform that action at this time.
0 commit comments