# include <sys/socket.h>
# include <netinet/in.h>
# include <unistd.h> // close(), write()
-#elif defined(WIN32)
+#elif defined(_WIN32)
# include <io.h>
# include <winsock2.h>
# include <ws2tcpip.h>
}
-#if defined(WIN32) || defined(__OS2__)
+#if defined(_WIN32) || defined(__OS2__)
/**
* select()-able pipes emulated using Winsock
*/
close (c);
return -1;
}
-#endif /* WIN32 || __OS2__ */
+#endif /* _WIN32 || __OS2__ */
static vlc_mutex_t pipe_lock = VLC_STATIC_MUTEX;
/* This was officially deprecated on August 19 2009. For the convenience of
* wannabe code janitors, this is the list of names that remain used
* and unfixed since then. */
- static const char const bad[][11] = { "adjust", "clone", "colorthres",
+ static const char bad[][11] = { "adjust", "clone", "colorthres",
"erase", "extract", "gradient", "logo", "marq", "motionblur", "puzzle",
"rotate", "sharpen", "transform", "v4l2", "wall" };
- static const char const poor[][13] = { "invert", "magnify", "motiondetect",
+ static const char poor[][13] = { "invert", "magnify", "motiondetect",
"psychedelic", "ripple", "wave" };
if( bsearch( psz_name, bad, 15, 11, (void *)strcmp ) == NULL
&& bsearch( psz_name, poor, 6, 13, (void *)strcmp ) == NULL )
#undef vlc_list_children
/**
- * Gets the list of children of an objects, and increment their reference
+ * Gets the list of children of an object, and increment their reference
* count.
* @return a list (possibly empty) or NULL in case of error.
*/