Commit ed7859d0 authored by Jean-Paul Saman's avatar Jean-Paul Saman

examples/dump_pids.c, check_cc_pid.c: Fix for building on windows.

parent 32087067
......@@ -16,6 +16,10 @@
#include <assert.h>
#ifdef WIN32
# define O_NONBLOCK (0) /* O_NONBLOCK does not exist for Windows */
#endif
static inline uint32_t ts_getcc(uint8_t *packet)
{
return (packet[3] & 0x0f);
......
......@@ -16,6 +16,10 @@
#include <assert.h>
#ifdef WIN32
# define O_NONBLOCK (0) /* O_NONBLOCK does not exist for Windows */
#endif
static inline uint32_t ts_getcc(uint8_t *packet)
{
return (packet[3] & 0x0f);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment