Fixed the compiler macro

This commit is contained in:
Brigham Keys, Esq 2016-08-01 19:07:27 -05:00
parent d9f45c16d6
commit 2e0bba4048

View File

@ -77,8 +77,11 @@ namespace cAudio
CAUDIO_API IAudioManager* createAudioManager(bool initializeDefault, const char *lFilePath)
{
cAudioManager* manager = CAUDIO_NEW cAudioManager;
#if CAUDIO_COMPILE_WITH_FILE_LOG_RECEIVER == 1
if(FileLog == nullptr)
FileLog = new cFileLogReceiver(lFilePath);
#endif
if(manager)
{
if(initializeDefault)