diff --git a/Compiler/runtime/systemimpl.h b/Compiler/runtime/systemimpl.h index 2ef5e6fcf4a..5ab6adc060b 100644 --- a/Compiler/runtime/systemimpl.h +++ b/Compiler/runtime/systemimpl.h @@ -1,9 +1,9 @@ /* * This file is part of OpenModelica. * - * Copyright (c) 1998-2008, Linköpings University, + * Copyright (c) 1998-2008, Linköpings University, * Department of Computer and Information Science, - * SE-58183 Linköping, Sweden. + * SE-58183 Linköping, Sweden. * * All rights reserved. * @@ -29,15 +29,16 @@ */ #include "modelica.h" -typedef int (*function_t)(void*, void*); -typedef struct modelica_ptr_s *modelica_ptr_t; char* _replace(const char* source_str, const char* search_str, const char* replace_str); -modelica_ptr_t lookup_ptr(modelica_integer index); + +typedef int (*function_t)(type_description*, type_description*); #if defined(__MINGW32__) || defined(_MSC_VER) + #define WIN32_LEAN_AND_MEAN + #include struct modelica_ptr_s { union { struct { @@ -61,3 +62,7 @@ struct modelica_ptr_s { }; #endif +typedef struct modelica_ptr_s *modelica_ptr_t; +modelica_ptr_t lookup_ptr(modelica_integer index); + +