Commit a7f4a20
committed
Fix vecstim.mod extern declarations for NEURON 9 compatibility
The explicit parameter types added in 7f43d9b conflict with
declarations already provided by NEURON >= 8.2.0 headers, causing
an "ambiguating new declaration" error in the generated C++.
Guard them with #ifndef NRN_VERSION_GTEQ_8_2_0, consistent with
the nrn_random_pick fix in 8699516.1 parent 0d45671 commit a7f4a20
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
| 120 | + | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
0 commit comments