Skip to content

Commit 2c299cd

Browse files
committed
Prevent multiple definitions for HELIX_PRINT
1 parent b770cc8 commit 2c299cd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/AudioTools/AudioCodecs/CodecAACHelix.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#pragma once
22

33
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"
4-
#define HELIX_PRINT
4+
#ifndef HELIX_PRINT
5+
# define HELIX_PRINT
6+
#endif
57
#include "AACDecoderHelix.h"
68

79
namespace audio_tools {

src/AudioTools/AudioCodecs/CodecMP3Helix.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#pragma once
22

33
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"
4-
#define HELIX_PRINT
4+
#ifndef HELIX_PRINT
5+
# define HELIX_PRINT
6+
#endif
57
#include "MP3DecoderHelix.h"
68

79
namespace audio_tools {

0 commit comments

Comments
 (0)