diff options
author | fcolin | 2011-11-02 16:52:48 +0000 |
---|---|---|
committer | fcolin | 2011-11-02 16:52:48 +0000 |
commit | cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06 (patch) | |
tree | 7ba5a0bf63696fb5872564823c1395186c57204c /tools/ivyprobe.c | |
parent | 1762b1c59c186f54a756c7b72bea7fd8c5115fda (diff) | |
download | ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.zip ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.tar.gz ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.tar.bz2 ivy-c-cbc77d2b7cbf19c2eb80bfe0b6100a0b9b8c1f06.tar.xz |
Update to compile under MinGW
Diffstat (limited to 'tools/ivyprobe.c')
-rw-r--r-- | tools/ivyprobe.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/ivyprobe.c b/tools/ivyprobe.c index 2b21da0..80e6939 100644 --- a/tools/ivyprobe.c +++ b/tools/ivyprobe.c @@ -409,14 +409,20 @@ int main(int argc, char *argv[]) if ( regex_file ) BindMsgOfFile( regex_file ); for (; optind < argc; optind++) + { + printf("Binding to '%s'\n", argv[optind] ); IvyBindMsg (Callback, NULL, argv[optind]); + } - if (wait_count == 0) -#ifndef WIN32 + +#ifdef WIN32 + printf("Stdin not compatible with select , select only accept socket on Windows\n"); +#else /* Stdin not compatible with select , select only accept socket */ + if (wait_count == 0) IvyChannelAdd (0, NULL, NULL, HandleStdin, NULL); #endif - + IvyStart (bus); if (timer_test) { |