Skip to content

Commit

Permalink
- Fixes to make the interactive client also compile on Linux.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7481 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Dec 17, 2010
1 parent 2c76482 commit a3042af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion c_runtime/interactive/Makefile.in
Expand Up @@ -21,7 +21,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
g++ -o SampleClient/client client.cpp socket.cpp thread.cpp -lpthread

clean:
$(RM) -rf *.o *.a SampleClient/client
Expand Down
1 change: 1 addition & 0 deletions c_runtime/interactive/client.cpp
Expand Up @@ -9,6 +9,7 @@
#include <fstream>
#include <string>
#include <cstdlib>
#include <cstring>

#include "thread.h"
#include "socket.h"
Expand Down

0 comments on commit a3042af

Please sign in to comment.