summaryrefslogtreecommitdiff
path: root/libs/tgl/libevent/cmake/CheckFunctionExistsEx.c
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-03-12 17:51:02 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-03-12 17:51:02 +0000
commit19988eba6edaa3b4c7bc5807dc0d5c39b0f4303b (patch)
treeb226b469879b2860e07318634d68ea1c74d7d757 /libs/tgl/libevent/cmake/CheckFunctionExistsEx.c
parent534db770dbe8c358ea267df20145e9793fb0275a (diff)
not needed anymore here
git-svn-id: http://svn.miranda-ng.org/main/trunk@16472 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/tgl/libevent/cmake/CheckFunctionExistsEx.c')
-rw-r--r--libs/tgl/libevent/cmake/CheckFunctionExistsEx.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/libs/tgl/libevent/cmake/CheckFunctionExistsEx.c b/libs/tgl/libevent/cmake/CheckFunctionExistsEx.c
deleted file mode 100644
index 5ee3e5913a..0000000000
--- a/libs/tgl/libevent/cmake/CheckFunctionExistsEx.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifdef CHECK_FUNCTION_EXISTS
-
-#ifndef _WIN32
-char CHECK_FUNCTION_EXISTS();
-#endif
-
-#ifdef __CLASSIC_C__
-int main(){
- int ac;
- char*av[];
-#else
-int main(int ac, char*av[]){
-#endif
-#ifdef _WIN32
- void * p = &CHECK_FUNCTION_EXISTS;
-#else
- CHECK_FUNCTION_EXISTS();
-#endif
- if(ac > 1000)
- {
- return *av[0];
- }
- return 0;
-}
-
-#else /* CHECK_FUNCTION_EXISTS */
-
-# error "CHECK_FUNCTION_EXISTS has to specify the function"
-
-#endif /* CHECK_FUNCTION_EXISTS */