Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
37743d27
"wrappers/vscode:/vscode.git/clone" did not exist on "889baef66ec4184ab74f8a486d3147b1307014e0"
Commit
37743d27
authored
May 05, 2015
by
xantares
Browse files
fix mingw build
parent
3c328f39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
olla/src/Platform.cpp
olla/src/Platform.cpp
+2
-2
No files found.
olla/src/Platform.cpp
View file @
37743d27
...
...
@@ -179,13 +179,13 @@ static HMODULE loadOneLibrary(const string& file) {
static
void
initializePlugins
(
vector
<
HMODULE
>&
plugins
)
{
for
(
int
i
=
0
;
i
<
(
int
)
plugins
.
size
();
i
++
)
{
void
(
*
init
)();
*
(
void
**
)(
&
init
)
=
GetProcAddress
(
plugins
[
i
],
"registerPlatforms"
);
*
(
void
**
)(
&
init
)
=
(
void
*
)
GetProcAddress
(
plugins
[
i
],
"registerPlatforms"
);
if
(
init
!=
NULL
)
(
*
init
)();
}
for
(
int
i
=
0
;
i
<
(
int
)
plugins
.
size
();
i
++
)
{
void
(
*
init
)();
*
(
void
**
)(
&
init
)
=
GetProcAddress
(
plugins
[
i
],
"registerKernelFactories"
);
*
(
void
**
)(
&
init
)
=
(
void
*
)
GetProcAddress
(
plugins
[
i
],
"registerKernelFactories"
);
if
(
init
!=
NULL
)
(
*
init
)();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment