sr: Compile fix for Windows/MinGW.
This commit is contained in:
parent
dff75c0df1
commit
3d2efd7d15
|
@ -64,7 +64,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* FIXME: Should not be global. */
|
/* FIXME: Should not be global. */
|
||||||
static GIOChannel *channels[2];
|
SR_PRIV GIOChannel *channels[2];
|
||||||
|
|
||||||
struct databag {
|
struct databag {
|
||||||
int pipe_fds[2];
|
int pipe_fds[2];
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
#include "sigrok.h"
|
#include "sigrok.h"
|
||||||
#include "sigrok-internal.h"
|
#include "sigrok-internal.h"
|
||||||
|
|
||||||
/* demo.c */
|
/* demo.c. TODO: Should not be global! */
|
||||||
extern GIOChannel channels[2];
|
extern SR_PRIV GIOChannel channels[2];
|
||||||
|
|
||||||
struct source {
|
struct source {
|
||||||
int fd;
|
int fd;
|
||||||
|
|
Loading…
Reference in New Issue