From a447eed37cdf207660c156cacf75b15fddd44a70 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Mon, 3 Oct 2016 16:53:11 +0200 Subject: [PATCH] arm --- README.md | 4 ++++ src/irmc.c | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1dd610..dc2e554 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ irmc - Internet Relay Morse Code ================================ IRMC stands for Internet Relay Morse Code and is an implementation of [MOIP](http://8ch9azbsfifz.github.io/moip/). +# Building +## On Linux +Install portaudio, i.e.: sudo apt-get install libportaudio-dev + # Hardware interface options A good description on how to build different interfaces (telegraph key, sounder or both) is given on the [MorseKOB Website](http://kob.sdf.org/morsekob/interface.htm). diff --git a/src/irmc.c b/src/irmc.c index 4f47daa..d4febaa 100644 --- a/src/irmc.c +++ b/src/irmc.c @@ -19,14 +19,18 @@ #include #include +// Detect OSX #ifdef __MACH__ #include #include -#else +#endif + +// Detect Raspi +#ifdef __ARM #include #include #include -#endif +#endif //#define DEBUG 1