Skip to content
This repository
Browse code

[cosmetics] - get rid of some checks for _WIN32 and replace them with…

… proper TARGET_WINDOWS checks
  • Loading branch information...
commit 60d1fd5587487fe41e910f7d557d490e7a6f79ea 1 parent b31526b
Memphiz authored August 07, 2013
2  xbmc/Application.cpp
@@ -5702,7 +5702,7 @@ void CApplication::CloseNetworkShares()
5702 5702
 {
5703 5703
   CLog::Log(LOGDEBUG,"CApplication::CloseNetworkShares: Closing all network shares");
5704 5704
 
5705  
-#if defined(HAS_FILESYSTEM_SMB) && !defined(_WIN32)
  5705
+#if defined(HAS_FILESYSTEM_SMB) && !defined(TARGET_WINDOWS)
5706 5706
   smb.Deinit();
5707 5707
 #endif
5708 5708
   
4  xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecStageFright.cpp
@@ -20,9 +20,9 @@
20 20
 
21 21
 //#define DEBUG_VERBOSE 1
22 22
 
23  
-#if (defined HAVE_CONFIG_H) && (!defined WIN32)
  23
+#if (defined HAVE_CONFIG_H) && (!defined TARGET_WINDOWS)
24 24
 #include "config.h"
25  
-#elif defined(_WIN32)
  25
+#elif defined(TARGET_WINDOWS)
26 26
 #include "system.h"
27 27
 #endif
28 28
 

0 notes on commit 60d1fd5

Please sign in to comment.
Something went wrong with that request. Please try again.