#endif
#include <stdlib.h>
#include <glib.h>
-#include <sigrok.h>
-#include <sigrok-internal.h>
+#include "sigrok.h"
+#include "sigrok-internal.h"
// FIXME: Must be moved, or rather passed as function argument.
#ifdef _WIN32
-HANDLE hdl;
+static HANDLE hdl;
#endif
const char *serial_port_glob[] = {
case 115200:
baud = B115200;
break;
+#ifndef __APPLE__
case 460800:
baud = B460800;
break;
+#endif
default:
return SR_ERR;
}