Commit: c88c24c31a9758b1832821393da10a50c8cdd0bf
Parent: f84b027ea8dad21e7e7a02d384d6c3413b54832c
Author: opask
Date: Thu, 16 Aug 2018 07:58:53 -0600
remove useless #ifdef linux code
Diffstat:
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/links.h b/links.h
@@ -39,10 +39,6 @@
#include "os_dep.h"
#include "setup.h"
-#if defined(__linux__) && !defined(FALLOC_FL_KEEP_SIZE)
-#include <linux/falloc.h>
-#endif
-
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/menu.c b/menu.c
@@ -17,9 +17,6 @@ static unsigned char * const version_texts[] = {
TEXT_(T_COMPRESSION_METHODS),
TEXT_(T_ENCRYPTION),
TEXT_(T_UTF8_TERMINAL),
-#if defined(__linux__) || defined(__LINUX__)
- TEXT_(T_GPM_MOUSE_DRIVER),
-#endif
TEXT_(T_GRAPHICS_MODE),
#ifdef G
TEXT_(T_IMAGE_LIBRARIES),
@@ -108,13 +105,6 @@ static void menu_version(void *term_)
add_and_pad(&s, &l, term, *text_ptr++, maxlen);
add_to_str(&s, &l, get_text_translation(TEXT_(T_YES), term));
add_to_str(&s, &l, cast_uchar "\n");
-
-#if defined(__linux__) || defined(__LINUX__)
- add_and_pad(&s, &l, term, *text_ptr++, maxlen);
- add_to_str(&s, &l, get_text_translation(TEXT_(T_NO), term));
- add_to_str(&s, &l, cast_uchar "\n");
-#endif
-
add_and_pad(&s, &l, term, *text_ptr++, maxlen);
#ifdef G
i = l;