1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00

Require Audacity.h before Experimental.h...

... so that USE_* macros will be seen first, and so
EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT, for one, is correctly defined.

I hesitated actually to include Audacity.h in Experimental.h.  Maybe no
need for that hesitancy.  But instead I use #error if Audacity.h has not been
seen yet.
This commit is contained in:
Paul Licameli 2019-03-22 11:09:22 -04:00
parent 6f9746b601
commit 7cd6664f7b
9 changed files with 13 additions and 0 deletions

View File

@ -30,6 +30,11 @@
#ifndef __EXPERIMENTAL__
#define __EXPERIMENTAL__
#ifndef __AUDACITY_H__
// Audacity.h is needed for the USE_* macros
#error Must include Audacity.h before Experimental.h
#endif
// ACH 08 Jan 2014
// EQ accelerated code
//#define EXPERIMENTAL_EQ_SSE_THREADED

View File

@ -1,3 +1,4 @@
#include "../Audacity.h" // for USE_* macros
#include "../Experimental.h"
#include "../AudacityApp.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../AboutDialog.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../AudacityApp.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../AdornedRulerPanel.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../Menus.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../AudacityApp.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../AdornedRulerPanel.h"

View File

@ -1,3 +1,4 @@
#include "../Audacity.h"
#include "../Experimental.h"
#include "../HistoryWindow.h"