We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd7045 commit a85864dCopy full SHA for a85864d
fast/t2.hoc
@@ -6,8 +6,10 @@ sf = new StringFunctions()
6
{sscanf(nrnversion(8), "%[^-]", arch)}
7
if (unix_mac_pc() == 3) { // mingw
8
sprint(s1, "%s/demo/release/nrnmech.dll", neuronhome())
9
-}else{
10
- sprint(s1, "%s/demo/release/%s/.libs/libnrnmech.so", neuronhome(), arch)
+} else if (unix_mac_pc() == 4) { // Darwin
+ sprint(s1, "%s/demo/release/%s/libnrnmech.dylib", neuronhome(), arch)
11
+} else {
12
+ sprint(s1, "%s/demo/release/%s/libnrnmech.so", neuronhome(), arch)
13
}
14
//{printf("|%s|\n", s1)}
15
b = nrn_load_dll(s1)
0 commit comments