summaryrefslogtreecommitdiff
path: root/source4/lib/replace/win32.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-13 20:44:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:02 -0500
commit84db0662071a6ab61ae21a5da35317d8aed55d75 (patch)
tree2a5e6d65b28acc82cad1da3ec9287bb21c54e3b0 /source4/lib/replace/win32.m4
parent0639fe016e56ccd84b05da678219d8bb6c68432c (diff)
downloadsamba-84db0662071a6ab61ae21a5da35317d8aed55d75.tar.gz
samba-84db0662071a6ab61ae21a5da35317d8aed55d75.tar.bz2
samba-84db0662071a6ab61ae21a5da35317d8aed55d75.zip
r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines - map BSD error codes to Winsock Error codes (This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9)
Diffstat (limited to 'source4/lib/replace/win32.m4')
-rw-r--r--source4/lib/replace/win32.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/lib/replace/win32.m4 b/source4/lib/replace/win32.m4
deleted file mode 100644
index 9ac84cdf2a..0000000000
--- a/source4/lib/replace/win32.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-AC_CHECK_HEADERS(direct.h windows.h winsock2.h ws2tcpip.h)
-
-#######################################
-# Check for mkdir mode
-AC_CACHE_CHECK( [whether mkdir supports mode], ac_mkdir_has_mode,
- AC_TRY_COMPILE([
- #include <stdio.h>
- #ifdef HAVE_DIRECT_H
- #include <direct.h>
- #endif],[
- mkdir("foo",0777);
- return 0;
- ],
- ac_mkdir_has_mode="yes",
- ac_mkdir_has_mode="no") )
-
-if test "$ac_mkdir_has_mode" = "yes"
-then
- AC_DEFINE(HAVE_MKDIR_MODE, 1, [Define if target mkdir supports mode option])
-fi