Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several issues when building DDS on Windows with MinGW #6

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a80846f
Merge pull request #1 from qeo/master
ivan-galvez Jul 8, 2016
94ee04b
Do not include Posix sys/socket.h.
ivan-galvez May 24, 2016
9600d27
Fix nonmatching types on Windows implementation of socket related fun…
ivan-galvez May 24, 2016
86fe7ad
Do not include arpa/inet.h on non-posix systems.
ivan-galvez May 24, 2016
29f71b0
Use C-style comments.
ivan-galvez May 24, 2016
07d26a6
Added BSD implementation of fnmatch for Windows systems.
ivan-galvez Jul 8, 2016
38a5b2d
Fix Mingw32 specific errors compiling on Windows.
ivan-galvez May 27, 2016
c4a4424
Initialize static mutex at acquisition.
ivan-galvez May 27, 2016
14371b3
Do not include poll.h on WIN32.
ivan-galvez May 31, 2016
fcec408
Do not redifine vsnprintf for MinGW compiler.
ivan-galvez May 31, 2016
c273ba3
Move MSG_NO_SIGNAL definition to header.
ivan-galvez May 31, 2016
c1bbc4f
Fixed several errors in Windows Dyn IP implementation.
ivan-galvez May 31, 2016
1a62c3c
Move implementation of static mutex creation to .c.
ivan-galvez Jun 1, 2016
b8689a0
Export 'fatal' simbol used on several tests.
ivan-galvez Jun 1, 2016
1c700d3
Only build gettimeofday on Visual Studio.
ivan-galvez Jun 1, 2016
2f1f159
Patch for usleep in Windows
santiagomayoral Jun 2, 2016
c60a3e3
Add missing header to build certain tests on Windows.
ivan-galvez Jun 2, 2016
a8fc64f
Additional guards to build api test on Windows.
ivan-galvez Jun 2, 2016
2e23f76
Export additional symbols required to build test partitions.
ivan-galvez Jun 3, 2016
7e95d86
Fixed compilation of test chat on Windows.
ivan-galvez Jun 3, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move MSG_NO_SIGNAL definition to header.
  • Loading branch information
ivan-galvez committed Jul 11, 2016
commit c273ba30f3d95c7f7ba8bd0f082b4929577841db
4 changes: 0 additions & 4 deletions dds/src/dbg/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1869,10 +1869,6 @@ void debug_command (const char *buf)
dbg_printf ("?%s\r\n", cmd);
}

#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif

static void debug_session_destroy (DebugSession_t *sp)
{
static const char close_msg [] = "TDDS closing connection!\r\n";
Expand Down
4 changes: 4 additions & 0 deletions dds/src/include/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
#include "rtps.h"
#include "sock.h"

#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif

/* Some utility functions: */

void dbg_print_uclist (unsigned nchars, const unsigned char *cp, int hex);
Expand Down