Skip to content

Commit

Permalink
- more SimulationRuntime/c
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10386 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Nov 9, 2011
1 parent 89b21cb commit 4cc9bbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions SimulationRuntime/c/meta/meta_modelica.c
Expand Up @@ -31,6 +31,7 @@

#include "openmodelica.h"
#include "meta_modelica.h"
#include "meta_modelica_builtin.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/meta/meta_modelica_builtin.c
Expand Up @@ -711,6 +711,6 @@ modelica_real realMaxLit()

modelica_integer intMaxLit()
{
return LONG_MAX / 2;
return INT_MAX / 2;
}

6 changes: 3 additions & 3 deletions SimulationRuntime/interactive/Makefile.in
Expand Up @@ -11,8 +11,8 @@ SHELL = /bin/sh
CC = @CC@
CXX = @CXX@
CFLAGS += @CFLAGS@
CXXFLAGS = $(CFLAGS)
CPPFLAGS = -I.. -Wall
CXXFLAGS = $(CFLAGS)
CPPFLAGS = -I.. -Wall -I../c/simulation/results/ -I../c/linearization -I../c/simulation/solver/ -I../c/util/ -I../c/ -I../c/simulation/ -I../c/simulation/math-support

OBJ = $(CPPSRC:.cpp=.o)

Expand All @@ -29,7 +29,7 @@ libinteractive.a : $(OBJ)

client : client.cpp socket.h socket.cpp socket_win.cpp socket_unix.cpp thread.h thread.cpp
echo "Building client for interactive simulation ... "
g++ -o SampleClient/client client.cpp socket.cpp thread.cpp -lpthread
g++ $(CPPFLAGS) -o SampleClient/client client.cpp socket.cpp thread.cpp -lpthread

clean:
$(RM) -rf *.o *.a SampleClient/client
Expand Down

0 comments on commit 4cc9bbd

Please sign in to comment.