Revert "Remove JUCE defines"

This commit is contained in:
Jonathan Thomas
2020-01-02 16:04:54 -06:00
committed by GitHub
parent 9bf25f40a9
commit 2f037add7d
6 changed files with 45 additions and 0 deletions

View File

@@ -31,6 +31,14 @@
#ifndef OPENSHOT_AUDIOBUFFERSOURCE_H
#define OPENSHOT_AUDIOBUFFERSOURCE_H
/// Do not include the juce unittest headers, because it collides with unittest++
#define __JUCE_UNITTEST_JUCEHEADER__
#ifndef _NDEBUG
/// Define NO debug for JUCE on mac os
#define _NDEBUG
#endif
#include <iomanip>
#include "JuceHeader.h"

View File

@@ -31,6 +31,14 @@
#ifndef OPENSHOT_AUDIOREADERSOURCE_H
#define OPENSHOT_AUDIOREADERSOURCE_H
/// Do not include the juce unittest headers, because it collides with unittest++
#define __JUCE_UNITTEST_JUCEHEADER__
#ifndef _NDEBUG
/// Define NO debug for JUCE on mac os
#define _NDEBUG
#endif
#include <iomanip>
#include "ReaderBase.h"
#include "JuceHeader.h"

View File

@@ -31,6 +31,16 @@
#ifndef OPENSHOT_RESAMPLER_H
#define OPENSHOT_RESAMPLER_H
/// Do not include the juce unittest headers, because it collides with unittest++
#ifndef __JUCE_UNITTEST_JUCEHEADER__
#define __JUCE_UNITTEST_JUCEHEADER__
#endif
#ifndef _NDEBUG
// Define NO debug for JUCE on mac os
#define _NDEBUG
#endif
#include "AudioBufferSource.h"
#include "Exceptions.h"
#include "JuceHeader.h"

View File

@@ -31,6 +31,11 @@
#ifndef OPENSHOT_CLIP_H
#define OPENSHOT_CLIP_H
/// Do not include the juce unittest headers, because it collides with unittest++
#ifndef __JUCE_UNITTEST_JUCEHEADER__
#define __JUCE_UNITTEST_JUCEHEADER__
#endif
#include <memory>
#include <string>
#include <QtGui/QImage>

View File

@@ -31,6 +31,11 @@
#ifndef OPENSHOT_CLIPBASE_H
#define OPENSHOT_CLIPBASE_H
/// Do not include the juce unittest headers, because it collides with unittest++
#ifndef __JUCE_UNITTEST_JUCEHEADER__
#define __JUCE_UNITTEST_JUCEHEADER__
#endif
#include <memory>
#include <sstream>
#include "Exceptions.h"

View File

@@ -31,6 +31,15 @@
#ifndef OPENSHOT_FRAME_H
#define OPENSHOT_FRAME_H
/// Do not include the juce unittest headers, because it collides with unittest++
#ifndef __JUCE_UNITTEST_JUCEHEADER__
#define __JUCE_UNITTEST_JUCEHEADER__
#endif
#ifndef _NDEBUG
// Define NO debug for JUCE on mac os
#define _NDEBUG
#endif
#include <iomanip>
#include <sstream>
#include <queue>