Skip to content

Commit

Permalink
Fix android app
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarBLG committed Sep 7, 2023
1 parent d2e84c4 commit cf3ed51
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EVC/evc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
#include "console_platform.h"
#endif

#if defined(_WIN32)
#ifdef __ANDROID__
#elif defined(_WIN32)
#include <windows.h>
#include <imagehlp.h>
#include <errhandlingapi.h>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/assets/orts_bridge.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
1 change: 1 addition & 0 deletions app/src/main/assets/tcp_bus_bridge.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
127.0.0.1:5011=evc_logging:LOG:LOG:b
5 changes: 5 additions & 0 deletions app/src/main/assets/tcp_bus_client.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
evc_dmi=127.0.0.1:5070
evc_sim=127.0.0.1:5071
evc_logging=127.0.0.1:5072
rbc_5015=127.0.0.1:5073

4 changes: 4 additions & 0 deletions app/src/main/assets/tcp_bus_server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
evc_dmi=127.0.0.1:5070
evc_sim=127.0.0.1:5071
evc_logging=127.0.0.1:5072
rbc_5015=127.0.0.1:5073
1 change: 1 addition & 0 deletions platform/tcp_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#ifndef _WIN32
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <netdb.h>
Expand Down

0 comments on commit cf3ed51

Please sign in to comment.