[cosmetics] - get rid of some checks for _WIN32 and replace them with proper TARGET_W...
authorMemphiz <memphis@machzwo.de>
Wed, 7 Aug 2013 17:18:16 +0000 (19:18 +0200)
committerMemphiz <memphis@machzwo.de>
Wed, 7 Aug 2013 17:19:21 +0000 (19:19 +0200)
xbmc/Application.cpp
xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecStageFright.cpp

index 517d836..6d0f06a 100644 (file)
@@ -5702,7 +5702,7 @@ void CApplication::CloseNetworkShares()
 {
   CLog::Log(LOGDEBUG,"CApplication::CloseNetworkShares: Closing all network shares");
 
-#if defined(HAS_FILESYSTEM_SMB) && !defined(_WIN32)
+#if defined(HAS_FILESYSTEM_SMB) && !defined(TARGET_WINDOWS)
   smb.Deinit();
 #endif
   
index e816a1e..a5d9b17 100644 (file)
@@ -20,9 +20,9 @@
 
 //#define DEBUG_VERBOSE 1
 
-#if (defined HAVE_CONFIG_H) && (!defined WIN32)
+#if (defined HAVE_CONFIG_H) && (!defined TARGET_WINDOWS)
 #include "config.h"
-#elif defined(_WIN32)
+#elif defined(TARGET_WINDOWS)
 #include "system.h"
 #endif