]> git.sesse.net Git - vlc/blobdiff - include/vlc_threads.h
compat: mark getpid() as not throwing exceptions in C++
[vlc] / include / vlc_threads.h
index b3174b1a91e6e2342795dd21a23dbc39aa3b15ff..7fcbf25064be9be76ab2b7bf4b6a8c400db9a4db 100644 (file)
@@ -34,8 +34,7 @@
  *
  */
 
-#if defined( UNDER_CE )
-#elif defined( WIN32 )
+#if defined( WIN32 )
 #   include <process.h>                                         /* Win32 API */
 
 #elif defined( __OS2__ )                                        /* OS/2 API  */
@@ -82,7 +81,7 @@
 #   define VLC_THREAD_PRIORITY_OUTPUT  15
 #   define VLC_THREAD_PRIORITY_HIGHEST 20
 
-#elif defined(WIN32) || defined(UNDER_CE)
+#elif defined(WIN32)
 /* Define different priorities for WinNT/2K/XP and Win9x/Me */
 #   define VLC_THREAD_PRIORITY_LOW 0
 #   define VLC_THREAD_PRIORITY_INPUT \
@@ -456,7 +455,7 @@ static inline void vlc_spin_destroy (vlc_spinlock_t *spin)
     pthread_spin_destroy (spin);
 }
 
-#elif defined (WIN32) && !defined (UNDER_CE)
+#elif defined (WIN32)
 
 typedef CRITICAL_SECTION vlc_spinlock_t;