Skip to content

Commit

Permalink
Support platform QNX OS
Browse files Browse the repository at this point in the history
Compile with SDP7.1:
./configure --cc=aarch64-unknown-nto-qnx7.1.0-gcc --disable-shm
make

Function is verfied by UFS device read and write test.
  • Loading branch information
huangweiliang committed Jul 10, 2024
1 parent d0aa61e commit 6a324b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server.c
Original file line number Diff line number Diff line change
Expand Up @@ -2743,9 +2743,15 @@ static void set_sig_handlers(void)
struct sigaction act = {
.sa_handler = sig_int,
#if defined(__QNX__)
<<<<<<< HEAD
act.sa_flags = SA_NOCLDSTOP,
#else
act.sa_flags = SA_RESTART,
=======
.sa_flags = SA_NOCLDSTOP,
#else
.sa_flags = SA_RESTART,
>>>>>>> Support platform QNX OS
#endif
};

Expand Down

0 comments on commit 6a324b8

Please sign in to comment.