summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/blocks.cxx6
-rw-r--r--test/sudoku.cxx6
2 files changed, 12 insertions, 0 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx
index 43c3ffe19..c9bab7456 100644
--- a/test/blocks.cxx
+++ b/test/blocks.cxx
@@ -34,6 +34,12 @@
// Audio headers...
#include <config.h>
+#if defined(WIN32) || defined(__APPLE__)
+#elif defined(FL_PORTING)
+# pragma message "FL_PORTING: FLTK does not provide cross platform access to system sound"
+#else
+#endif
+
#ifndef WIN32
# include <unistd.h>
# include <sys/time.h>
diff --git a/test/sudoku.cxx b/test/sudoku.cxx
index 5dd58724c..d517fa6ee 100644
--- a/test/sudoku.cxx
+++ b/test/sudoku.cxx
@@ -46,6 +46,12 @@
# include <unistd.h>
#endif // !WIN32
+#if defined(WIN32) || defined(__APPLE__)
+#elif defined(FL_PORTING)
+# pragma message "FL_PORTING: FLTK does not provide cross platform sound support"
+#else
+#endif
+
#ifdef HAVE_ALSA_ASOUNDLIB_H
# define ALSA_PCM_NEW_HW_PARAMS_API
# include <alsa/asoundlib.h>