Permalink
Browse files

Unbork setsockopt for Windows (hopefully)

  • Loading branch information...
1 parent bffeb5e commit 68b34f2e21390b7b11d1ac4413b8e2e80c5c42af @Beirdo Beirdo committed Jun 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmythbase/compat.h
@@ -35,7 +35,9 @@
# include <io.h>
# endif
+#ifdef THIS_IS_BORKED
# define setsockopt(a, b, c, d, e) setsockopt(a, b, c, (const char*)(d), e)
+#endif
# undef close
# include <stdio.h> // for snprintf(), used by inline dlerror()
# include <unistd.h> // for usleep()

0 comments on commit 68b34f2

Please sign in to comment.