[win32] LangInfo: undef function names on Win32
authorKarlson2k <k2k@narod.ru>
Mon, 14 Oct 2013 08:35:17 +0000 (12:35 +0400)
committerKarlson2k <k2k@narod.ru>
Mon, 14 Oct 2013 08:35:17 +0000 (12:35 +0400)
xbmc/LangInfo.h

index ee14706..68bf38b 100644 (file)
 
 #include <map>
 
+#ifdef TARGET_WINDOWS
+#ifdef GetDateFormat
+#undef GetDateFormat
+#endif // GetDateFormat
+#ifdef GetTimeFormat
+#undef GetTimeFormat
+#endif // GetTimeFormat
+#endif // TARGET_WINDOWS
+
 class TiXmlNode;
 
 class CLangInfo : public ISettingCallback