summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope/syna.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/synaescope/syna.h')
-rw-r--r--noatun-plugins/synaescope/syna.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/noatun-plugins/synaescope/syna.h b/noatun-plugins/synaescope/syna.h
index 07c4e5e..0d3831b 100644
--- a/noatun-plugins/synaescope/syna.h
+++ b/noatun-plugins/synaescope/syna.h
@@ -48,31 +48,7 @@
#define NumSamples (1<<LogSize)
#define RecSize (1<<LogSize-Overlap)
-#ifndef __linux__
-#warning This target has not been tested!
-#endif
-
-#ifdef __FreeBSD__
-#include <machine/endian.h>
typedef unsigned short sampleType;
-#else
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#ifdef HAVE_ENDIAN_H
-#include <endian.h>
-#elif defined(_BIG_ENDIAN)
-#define BIG_ENDIAN 1
-#define BYTE_ORDER BIG_ENDIAN
-#endif
-typedef short sampleType;
-#endif
-
-#if BYTE_ORDER == BIG_ENDIAN
-#define BIGENDIAN
-#else
-#define LITTLEENDIAN
-#endif
void error(const char *str, bool syscall=false);
void warning(const char *str, bool syscall=false);