Skip to content

Commit

Permalink
[addon] well..., in Windows ew always have the trouble with their cra…
Browse files Browse the repository at this point in the history
…ppy macro definition, so lets undef CreateDirectory for the first step :-(
  • Loading branch information
AchimTuran committed Jun 24, 2017
1 parent fdb6773 commit 8276029
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ using namespace std;

CDSPProcess_FreeSurround *g_usedDSPs[AE_DSP_STREAM_MAX_STREAMS];

#if defined(TARGET_WINDOWS)
#undef CreateDirectory
#endif

class CFreeSurroundAddon
: public kodi::addon::CAddonBase,
public kodi::addon::CInstanceAudioDSP
Expand All @@ -40,7 +44,6 @@ class CFreeSurroundAddon
CFreeSurroundAddon();
virtual ~CFreeSurroundAddon();

virtual ADDON_STATUS Create() override;
virtual void GetCapabilities(AE_DSP_ADDON_CAPABILITIES& capabilities) override;
virtual std::string GetDSPName() override { return "Free Surround Processor"; }
virtual std::string GetDSPVersion() override { return FREESURROUND_VERSION; };
Expand Down

0 comments on commit 8276029

Please sign in to comment.