sr: Compile fix for Windows/MinGW.

This commit is contained in:
Uwe Hermann 2012-02-05 13:36:03 +01:00
parent dff75c0df1
commit 3d2efd7d15
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ enum {
};
/* FIXME: Should not be global. */
static GIOChannel *channels[2];
SR_PRIV GIOChannel *channels[2];
struct databag {
int pipe_fds[2];

View File

@ -25,8 +25,8 @@
#include "sigrok.h"
#include "sigrok-internal.h"
/* demo.c */
extern GIOChannel channels[2];
/* demo.c. TODO: Should not be global! */
extern SR_PRIV GIOChannel channels[2];
struct source {
int fd;