Add MSVSC++ compatibility helpers

Signed-off-by: Julian Scheel <julian@jusst.de>
This commit is contained in:
Julian Scheel 2016-03-31 16:04:27 +02:00
parent a1f3f7ccab
commit c20c24d0da
2 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,10 @@
#include "OctonetData.h"
#include "platform/util/StringUtils.h"
#ifndef timegm
#define timegm _mkgmtime
#endif
using namespace ADDON;
OctonetData::OctonetData()

View File

@ -24,6 +24,10 @@
#include "kodi/libXBMC_addon.h"
#include "kodi/libXBMC_pvr.h"
#ifndef __func__
#define __func__ __FUNCTION__
#endif
extern ADDON::CHelper_libXBMC_addon *kodi;
extern CHelper_libXBMC_pvr *pvr;