Skip to content

Commit

Permalink
examples: Now we are building on MAC, fix the header include
Browse files Browse the repository at this point in the history
the examples on MAC was pointing to:
which is wrong, it should be like Windows and Linux, at:
so, make it so.

Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz committed Apr 28, 2020
1 parent c88c36e commit be820ec
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 25 deletions.
5 changes: 0 additions & 5 deletions examples/ad9361-iiostream.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
#include <string.h>
#include <signal.h>
#include <stdio.h>

#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#endif

/* helper macros */
#define MHZ(x) ((long long)(x*1000000.0 + .5))
Expand Down
5 changes: 0 additions & 5 deletions examples/ad9371-iiostream.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@
#include <string.h>
#include <signal.h>
#include <stdio.h>

#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#endif

/* helper macros */
#define MHZ(x) ((long long)(x*1000000.0 + .5))
Expand Down
5 changes: 0 additions & 5 deletions examples/adrv9009-iiostream.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@
#include <string.h>
#include <signal.h>
#include <stdio.h>

#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#endif

/* helper macros */
#define MHZ(x) ((long long)(x*1000000.0 + .5))
Expand Down
5 changes: 0 additions & 5 deletions examples/dummy-iiostream.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@
#include <errno.h>
#include <getopt.h>
#include <inttypes.h>

#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#endif

#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))

Expand Down
5 changes: 0 additions & 5 deletions examples/iio-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@
#include <stdbool.h>
#include <unistd.h>
#include <string.h>

#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#endif

#define ARRAY_SIZE(x) (sizeof(x) ? sizeof(x) / sizeof((x)[0]) : 0)

Expand Down

0 comments on commit be820ec

Please sign in to comment.