Skip to content

Commit 5e1e176

Browse files
committed
Fix NVCOMPILER macro in example
1 parent 75df987 commit 5e1e176

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/13_write_dynamic_configuration.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ int main()
1818

1919
using position_t = double;
2020

21-
#if !__NVCOMPILER // see https://github.com/ToruNiina/toml11/issues/205
21+
// see https://github.com/ToruNiina/toml11/issues/205
22+
#if !defined(__NVCOMPILER_MAJOR__) || __NVCOMPILER_MAJOR__ >= 23
2223
/*
2324
* This example demonstrates how to use JSON/TOML-based dynamic
2425
* configuration for openPMD.

0 commit comments

Comments
 (0)