kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
rs92: cygwin option
rodzic
584eab9343
commit
768926653e
|
@ -24,7 +24,7 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef WIN
|
||||
#ifdef CYGWIN
|
||||
#include <fcntl.h> // cygwin: _setmode()
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
@ -911,7 +911,7 @@ int main(int argc, char *argv[]) {
|
|||
byte, i;
|
||||
int bit, len;
|
||||
|
||||
#ifdef WIN
|
||||
#ifdef CYGWIN
|
||||
_setmode(_fileno(stdin), _O_BINARY);
|
||||
setbuf(stdout, NULL);
|
||||
#endif
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef WIN
|
||||
#ifdef CYGWIN
|
||||
#include <fcntl.h> // cygwin: _setmode()
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
@ -930,7 +930,7 @@ int main(int argc, char *argv[]) {
|
|||
int bit, len;
|
||||
char *pbuf = NULL;
|
||||
|
||||
#ifdef WIN
|
||||
#ifdef CYGWIN
|
||||
_setmode(_fileno(stdin), _O_BINARY);
|
||||
setbuf(stdout, NULL);
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue