git://git.onelab.eu
/
ipfw-google.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove duplicate entry
[ipfw-google.git]
/
glue.h
diff --git
a/glue.h
b/glue.h
index
75216cc
..
1fb029c
100644
(file)
--- a/
glue.h
+++ b/
glue.h
@@
-51,9
+51,11
@@
#ifndef KERNEL_MODULE /* Userland headers */
#ifndef KERNEL_MODULE /* Userland headers */
-#if defined(__CYGWIN32__) && !defined(_WIN32)
+#if defined(__CYGWIN32__) || defined(__CYGWIN__)
+#if !defined(_WIN32)
#define _WIN32
#endif
#define _WIN32
#endif
+#endif
#if defined(TCC) && defined(_WIN32)
#include <tcc_glue.h>
#if defined(TCC) && defined(_WIN32)
#include <tcc_glue.h>
@@
-245,7
+247,7
@@
enum ipfw_msg_type {
/* on freebsd sys/socket.h pf specific */
#define NET_RT_IFLIST 3 /* survey interface list */
/* on freebsd sys/socket.h pf specific */
#define NET_RT_IFLIST 3 /* survey interface list */
-#if defined(__linux__) || defined(__CYGWIN32__)
+#if defined(__linux__) || defined(__CYGWIN32__)
|| defined(__CYGWIN__)
/* on freebsd net/if.h XXX used */
struct if_data {
/* ... */
/* on freebsd net/if.h XXX used */
struct if_data {
/* ... */
@@
-467,6
+469,7
@@
struct ether_addr * ether_aton(const char *a);
struct hostent* gethostbyname2(const char *name, int af);
struct hostent* gethostbyname2(const char *name, int af);
+#define strcasecmp strcmp // windows XXX ip_dummynet.c
/********************
* windows wrappings *
/********************
* windows wrappings *