]> git.sesse.net Git - x264/blobdiff - extras/getopt.c
rm msvc project files and related ifdefs
[x264] / extras / getopt.c
index d2dbd306d891b81be282331873c637c5934d2fd9..4c0cb1014c5711ce03e6c8f177bcd0341a81e9a0 100644 (file)
@@ -202,11 +202,7 @@ static char *posixly_correct;
 # if HAVE_STRING_H
 #  include <string.h>
 # else
-#  ifdef _MSC_VER
-#   include <string.h>
-#  else
-#   include <strings.h>
-#  endif
+#  include <strings.h>
 # endif
 
 /* Avoid depending on library functions or files
@@ -984,21 +980,6 @@ getopt (argc, argv, optstring)
                           0);
 }
 
-#ifdef _MSC_VER
-
-int
-getopt_long (argc, argv, optstring, long_options, opt_index)
-     int argc;
-     char *const *argv;
-     const char *optstring;
-     const struct option *long_options;
-     int *opt_index;
-{
-  return _getopt_internal (argc, argv, optstring, long_options, opt_index, 0);
-}
-
-#endif
-
 #endif /* Not ELIDE_CODE.  */
 \f
 #ifdef TEST