1
0
mirror of https://github.com/DigitalDevices/pvr.octonet.git synced 2023-10-10 13:36:57 +02:00

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 "OctonetData.h"
#include "platform/util/StringUtils.h" #include "platform/util/StringUtils.h"
#ifndef timegm
#define timegm _mkgmtime
#endif
using namespace ADDON; using namespace ADDON;
OctonetData::OctonetData() OctonetData::OctonetData()

View File

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