Skip to content

Commit

Permalink
fix os/2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
wwiv committed Jun 5, 2021
1 parent 22d37e1 commit 1de0dc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions bbs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ add_library(
dropfile.cpp
dsz.cpp
email.cpp
"exec_socket.cpp"
execexternal.cpp
external_edit.cpp
external_edit_qbbs.cpp
Expand Down Expand Up @@ -135,7 +134,8 @@ endif()
if(UNIX)
target_sources(bbs_lib PRIVATE
exec_unix.cpp
make_abs_cmd_unix.cpp
"exec_socket.cpp"
make_abs_cmd_unix.cpp
)
if(CMAKE_SYSTEM_NAME MATCHES "SunOS.*")
list(APPEND CMAKE_EXE_LINKER_FLAGS "-lsocket -lnsl -lkstat -lssp")
Expand All @@ -149,6 +149,7 @@ endif()
if(WIN32)
target_sources(bbs_lib PRIVATE
exec_win32.cpp
"exec_socket.cpp"
make_abs_cmd_win32.cpp
)

Expand Down
2 changes: 1 addition & 1 deletion bbs/chnedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static void modify_chain(ssize_t chain_num) {
c.exec_mode++;
}
if (c.exec_mode == chain_exec_mode_t::sock_port ||
c.exec_mode == chain_exec_mode_t::sock_unix {
c.exec_mode == chain_exec_mode_t::sock_unix) {
c.exec_mode++;
}
#elif defined(__unix__)
Expand Down
2 changes: 1 addition & 1 deletion bbs/exec_os2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <string>


int exec_cmdline(const wwiv::bbs::CommandLine& cmdline, int flags) {
int exec_cmdline(wwiv::bbs::CommandLine& cmdline, int flags) {
if (a()->sess().ok_modem_stuff() && a()->sess().using_modem()) {
VLOG(1) <<"Closing remote IO";
bout.remoteIO()->close(true);
Expand Down

0 comments on commit 1de0dc5

Please sign in to comment.