1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Include Audacity.h in all files that test config USE_ macros...

... except Experimental.h, but see preceding commit.

This is especially important in the header files.

Be sure there are no quiet changes of meaning when a header file is included
in a different context, not having seen Audacity.h.  Rather include Audacity.h
even if redundantly.

Also, in some header files, move more inside the include-guard #ifdef-#endif
pair.
This commit is contained in:
Paul Licameli
2019-03-22 11:01:05 -04:00
parent 7cd6664f7b
commit adcb93512c
11 changed files with 20 additions and 8 deletions

View File

@@ -11,9 +11,9 @@ LRN
#if !defined(__EXPORT_FFMPEG_DIALOGS_H__)
#define __EXPORT_FFMPEG_DIALOGS_H__
#if defined(USE_FFMPEG)
#include "../Audacity.h" // keep ffmpeg before wx because they interact // for USE_* macros
#include "../Audacity.h" // keep ffmpeg before wx because they interact
#if defined(USE_FFMPEG)
#include "../FFmpeg.h" // and Audacity.h before FFmpeg for config*.h