Skip to content

Commit

Permalink
Unbork setsockopt for Windows (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
Beirdo committed Jun 13, 2012
1 parent bffeb5e commit 68b34f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythbase/compat.h
Expand Up @@ -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()
Expand Down

0 comments on commit 68b34f2

Please sign in to comment.