Skip to content

Commit

Permalink
- Fix for ModelicaExternalC
Browse files Browse the repository at this point in the history
  - Compile with "-Dstatic=", to remove static keywords everywhere.
    - Static functions are not exported, but all functions were declared static.
  - Compile with -D_POSIX_ so OSX works


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6180 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 22, 2010
1 parent a5b8be4 commit 2067252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_runtime/ModelicaExternalC/Makefile.in
@@ -1,6 +1,6 @@
CC = gcc
CFLAGS := @CFLAGS@
CPPFLAGS := @CPPFLAGS@ -I..
CPPFLAGS := @CPPFLAGS@ -I.. -D_POSIX_ -Dstatic=
OBJS = ModelicaInternal.o ModelicaStrings.o ModelicaTablesImpl.o
AR = ar -ru

Expand Down

0 comments on commit 2067252

Please sign in to comment.