rm unused preprocessor checks
[libpicofe.git] / menu.h
diff --git a/menu.h b/menu.h
index 07aee2a..21da7f3 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -8,6 +8,9 @@
  * See the COPYING file in the top-level directory.
  */
 
+#ifndef LIBPICOFE_MENU_H
+#define LIBPICOFE_MENU_H
+
 typedef enum
 {
        MB_NONE = 1,            /* no auto processing */
@@ -109,13 +112,8 @@ extern me_bind_action emuctrl_actions[];   // platform code
 extern void *g_menubg_src_ptr;
 extern void *g_menubg_ptr;
 extern void *g_menuscreen_ptr;
-#if MSCREEN_SIZE_FIXED
-#define g_menuscreen_w MSCREEN_WIDTH
-#define g_menuscreen_h MSCREEN_HEIGHT
-#else
 extern int g_menuscreen_w;
 extern int g_menuscreen_h;
-#endif
 
 void menu_init_base(void);
 void menu_update_msg(const char *msg);
@@ -123,3 +121,5 @@ void text_out16(int x, int y, const char *texto, ...);
 
 menu_entry *me_list_get_first(void);
 menu_entry *me_list_get_next(void);
+
+#endif // LIBPICOFE_MENU_H