mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-06 15:17:49 -04: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_VERSION "v0.01a"
|
||||||
#define CUBICSDR_TITLE "CubicSDR " CUBICSDR_VERSION " by Charles J. Cliffe (@ccliffe)"
|
#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 =
|
const char filePathSeparator =
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
'\\';
|
'\\';
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
#include "CubicSDRDefs.h"
|
#include "CubicSDRDefs.h"
|
||||||
#include "CubicSDR.h"
|
#include "CubicSDR.h"
|
||||||
|
|
||||||
#include <complex.h>
|
|
||||||
#include <endian.h>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user