mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed linux compilation support
This commit is contained in:
parent
a1224c5ca6
commit
f0f7f14093
@ -37,9 +37,7 @@ void __stdcall RVExtension(char *output, int outputSize, const char *function) {
|
||||
EXTENSION_RETURN();
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
EXTENSION_RETURN();
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
|
||||
if (!strcmp(function, "--COMPLETE--"))
|
||||
{
|
||||
@ -94,5 +92,7 @@ void __stdcall RVExtension(char *output, int outputSize, const char *function) {
|
||||
strncpy_s(output, outputSize, result.c_str(), _TRUNCATE);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
EXTENSION_RETURN();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user