mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +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:
parent
6f9746b601
commit
7cd6664f7b
@ -30,6 +30,11 @@
|
|||||||
#ifndef __EXPERIMENTAL__
|
#ifndef __EXPERIMENTAL__
|
||||||
#define __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
|
// ACH 08 Jan 2014
|
||||||
// EQ accelerated code
|
// EQ accelerated code
|
||||||
//#define EXPERIMENTAL_EQ_SSE_THREADED
|
//#define EXPERIMENTAL_EQ_SSE_THREADED
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h" // for USE_* macros
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../AudacityApp.h"
|
#include "../AudacityApp.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../AboutDialog.h"
|
#include "../AboutDialog.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../AudacityApp.h"
|
#include "../AudacityApp.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../AdornedRulerPanel.h"
|
#include "../AdornedRulerPanel.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../Menus.h"
|
#include "../Menus.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../AudacityApp.h"
|
#include "../AudacityApp.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../AdornedRulerPanel.h"
|
#include "../AdornedRulerPanel.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
#include "../HistoryWindow.h"
|
#include "../HistoryWindow.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user