Skip to content

Commit

Permalink
There is no more f2c.h
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24328 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 30, 2015
1 parent 74a5354 commit 4f13e70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion Compiler/runtime/lapackimpl.c
Expand Up @@ -48,7 +48,6 @@ extern "C" {
#include "rtclock.h"
#include "omc_config.h"
#include "errorext.h"
#include "f2c.h"

/*
* Platform specific includes and defines
Expand Down
1 change: 0 additions & 1 deletion Compiler/runtime/systemimpl.c
Expand Up @@ -60,7 +60,6 @@ extern "C" {
#include "errorext.h"
#include "settingsimpl.h"
#include "printimpl.h"
#include "f2c.h"

#if defined(_MSC_VER) /* no iconv for VS! */

Expand Down
9 changes: 9 additions & 0 deletions SimulationRuntime/c/openmodelica_types.h
Expand Up @@ -39,6 +39,15 @@
extern "C" {
#endif

#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__)
typedef int integer;
typedef unsigned int uinteger;
#else
typedef long int integer;
typedef unsigned long int uinteger;
#endif
typedef double doublereal;

typedef void* modelica_complex; /* currently only External objects are represented using modelica_complex.*/
typedef void* modelica_metatype; /* MetaModelica extension, added by sjoelund */
/* MetaModelica extension.
Expand Down

0 comments on commit 4f13e70

Please sign in to comment.