summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-05-02 10:42:30 -0400
committerAllen Winter <allen.winter@kdab.com>2015-05-02 10:42:30 -0400
commitaac33ccc3d3eb781643906185ebff83dd41cae3f (patch)
tree8bfc578bc4873017380941e36a5192da529b4cbf /ConfigureChecks.cmake
parent092c2f83891e7c3bd3a9a7b0b23add92d9af90d2 (diff)
downloadlibical-git-aac33ccc3d3eb781643906185ebff83dd41cae3f.tar.gz
Ported to Windows MSVC 2012
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 85a4f5cb..0c4cf22e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -39,6 +39,10 @@ check_function_exists(stricmp HAVE_STRICMP)
check_function_exists(strnicmp HAVE_STRNICMP)
check_function_exists(strdup HAVE_STRDUP) #Unix <string.h>
check_function_exists(_strdup HAVE__STRDUP) #Windows <string.h>
+check_function_exists(read HAVE_READ) #Unix <unistd.h>
+check_function_exists(_read HAVE__READ) #Windows <io.h>
+check_function_exists(write HAVE_WRITE) #Unix <unistd.h>
+check_function_exists(_write HAVE__WRITE) #Windows <io.h>
check_function_exists(unsetenv HAVE_UNSETENV)
check_function_exists(unlink HAVE_UNLINK)
check_function_exists(waitpid HAVE_WAITPID)