summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-03-11 14:42:30 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-03-11 14:42:30 +0000
commitee75d9ae4a890d62b009444bed9512b4dab3ee1d (patch)
tree089d790ca21091372539ddd51f3762af232bf82d /protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c
parentbb5bb4407f2578ed8d6dc3b41f6ddb8b798e560c (diff)
old version
git-svn-id: http://svn.miranda-ng.org/main/trunk@16458 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c')
-rw-r--r--protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c b/protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c
deleted file mode 100644
index 5ee3e5913a..0000000000
--- a/protocols/Telegram/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 */