mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-15 16:41:54 -05:00
Patch for Windows / OSX
This commit is contained in:
parent
a2c6e0bf91
commit
9cf8799a58
@ -3,6 +3,22 @@
|
||||
#define CUBICSDR_VERSION "v0.01a"
|
||||
#define CUBICSDR_TITLE "CubicSDR " CUBICSDR_VERSION " by Charles J. Cliffe (@ccliffe)"
|
||||
|
||||
#ifndef __BYTE_ORDER
|
||||
#ifdef _WIN32
|
||||
#define ATTRIBUTE
|
||||
#define __LITTLE_ENDIAN 1234
|
||||
#define __BIG_ENDIAN 4321
|
||||
#define __PDP_ENDIAN 3412
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#else
|
||||
#ifdef __APPLE__
|
||||
#include <machine/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const char filePathSeparator =
|
||||
#ifdef _WIN32
|
||||
'\\';
|
||||
|
@ -2,8 +2,6 @@
|
||||
#include "CubicSDRDefs.h"
|
||||
#include "CubicSDR.h"
|
||||
|
||||
#include <complex.h>
|
||||
#include <endian.h>
|
||||
#include <vector>
|
||||
#include <deque>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user