Skip to content

Commit

Permalink
- getLastError() is wrong its GetLastError.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10119 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Oct 14, 2011
1 parent f0d4f62 commit 8463e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FMI/import/source/moGenerator.c
Expand Up @@ -174,7 +174,7 @@ static char* getDecompPath(char * omPath, const char* mid){

if (!omhome || strlen(omhome) >= PATHSIZE) {
#if defined(__MINGW32__) || defined(_MSC_VER)
if (getLastError() == ERROR_ENVVAR_NOT_FOUND) {
if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) {
ERRORPRINT("#### Error: Environment variable \"%s\" not defined\n","OPENMODELICAHOME");
}
else {
Expand Down

0 comments on commit 8463e0a

Please sign in to comment.