From acf6c881d36b675d755433d3cf48613bc46ed78d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 3 Jan 2016 22:54:29 +0000 Subject: Updated platform specific #if's to report unimplemented code when compiling with FL_PORTING defined and WIN32 and __APPLE__ undefined> git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/blocks.cxx | 6 ++++++ test/sudoku.cxx | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'test') 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 +#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 # include 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 #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 -- cgit v1.2.3