summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tgl/libevent/cmake/CheckFunctionExistsEx.c
diff options
context:
space:
mode:
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 */