aboutsummaryrefslogtreecommitdiff
path: root/syshead.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-08-05 20:34:43 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-08-05 20:34:43 +0000
commit0eb2ee14350308042eae163af35e795d6a67f8d3 (patch)
tree1fd4fa815d3fcbdb961d2360a9216771c22c7ce7 /syshead.h
parentWorkaround for MinGW autoconf issue where HAVE_SETSOCKOPT, (diff)
downloadopenvpn-0eb2ee14350308042eae163af35e795d6a67f8d3.tar.xz
Reverted r3181, accomplish the same thing via a special case
for Windows stdcall functions in configure.ac (Alon Bar-Lev). Minor fix to cryptoapi.c to not compile itself unless USE_CRYPTO and USE_SSL flags are enabled (Alon Bar-Lev). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3183 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--syshead.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/syshead.h b/syshead.h
index 358c0bc..e87814e 100644
--- a/syshead.h
+++ b/syshead.h
@@ -54,18 +54,6 @@
#define sleep(x) Sleep((x)*1000)
#define random rand
#define srandom srand
-
-/* MinGW autoconf workaround */
-
-#undef HAVE_SETSOCKOPT
-#define HAVE_SETSOCKOPT 1
-
-#undef HAVE_GETSOCKOPT
-#define HAVE_GETSOCKOPT 1
-
-#undef HAVE_POLL
-#define HAVE_POLL 1
-
#endif
#ifdef HAVE_SYS_TYPES_H