summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-10 15:49:23 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-10 15:49:23 (GMT)
commit6f109620b356c6ff2d283d8fb1e4f545214a74b6 (patch)
treec2af8f29ab7b0551037a60b644fac283e73982df
parentfb643cd48329d2b8d4d79dbb6934b715e0db8dc7 (diff)
downloadCMake-6f109620b356c6ff2d283d8fb1e4f545214a74b6.zip
CMake-6f109620b356c6ff2d283d8fb1e4f545214a74b6.tar.gz
CMake-6f109620b356c6ff2d283d8fb1e4f545214a74b6.tar.bz2
COMP: Fix cmcurl build on VMS
This defines IOCTL_3_ARGS in 'cmcurl/setup.h' to teach curl sources about the three-argument ioctl() on VMS.
-rw-r--r--Utilities/cmcurl/setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmcurl/setup.h b/Utilities/cmcurl/setup.h
index 851c5a9..c49e63d 100644
--- a/Utilities/cmcurl/setup.h
+++ b/Utilities/cmcurl/setup.h
@@ -264,6 +264,10 @@ typedef unsigned char bool;
#else /* MSDOS */
+#ifdef __VMS
+#define IOCTL_3_ARGS 1
+#endif
+
#ifdef __BEOS__
#define sclose(x) closesocket(x)
#else /* __BEOS__ */