Skip to content

Commit

Permalink
Added fix for xcode regarding nullptr and not_eq not being recognized…
Browse files Browse the repository at this point in the history
… in osx
  • Loading branch information
r4stl1n committed Aug 15, 2016
1 parent 71b3201 commit 27c1e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cAudio/src/cAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace cAudio
{
cAudioManager* manager = CAUDIO_NEW cAudioManager;
#if CAUDIO_COMPILE_WITH_FILE_LOG_RECEIVER == 1
if(FileLog == nullptr)
if(FileLog == NULL)

FileLog = new cFileLogReceiver(lFilePath);
#endif
Expand Down Expand Up @@ -114,7 +114,7 @@ namespace cAudio
CAUDIO_API void destroyAudioManager(IAudioManager* manager)
{
#if CAUDIO_COMPILE_WITH_FILE_LOG_RECEIVER == 1
if(FileLog not_eq nullptr)
if(FileLog != NULL)
delete FileLog;
#endif
if(manager)
Expand Down

0 comments on commit 27c1e05

Please sign in to comment.