equal
deleted
inserted
replaced
145 memcpy(cp, AOTLibrary, len); |
145 memcpy(cp, AOTLibrary, len); |
146 cp[len] = '\0'; |
146 cp[len] = '\0'; |
147 char* end = cp + len; |
147 char* end = cp + len; |
148 while (cp < end) { |
148 while (cp < end) { |
149 const char* name = cp; |
149 const char* name = cp; |
150 while ((*cp) != '\0' && (*cp) != '\n' && (*cp) != ',' && (*cp) != ':' && (*cp) != ';') cp++; |
150 #ifdef _WINDOWS |
|
151 char pathSep = ';'; |
|
152 #else |
|
153 char pathSep = ':'; |
|
154 #endif |
|
155 while ((*cp) != '\0' && (*cp) != '\n' && (*cp) != ',' && (*cp) != pathSep) cp++; |
151 cp[0] = '\0'; // Terminate name |
156 cp[0] = '\0'; // Terminate name |
152 cp++; |
157 cp++; |
153 load_library(name, true); |
158 load_library(name, true); |
154 } |
159 } |
155 } |
160 } |