Permalink
Browse files

disable plugin for ios

  • Loading branch information...
1 parent fe78b95 commit f5db67e765fec5922174a9c897f495f5541989fb @youknowone youknowone committed Sep 20, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/common/plugin.c
View
@@ -43,6 +43,8 @@ typedef struct session xchat_context;
#ifdef __APPLE__
extern char *get_appdir_fs();
extern char *get_plugin_bundle_path(char *filename);
+#endif
+#ifdef FE_AQUA
extern void aqua_plugin_auto_load(struct session *ps);
#endif
@@ -455,8 +457,10 @@ plugin_auto_load (session *sess)
#if defined(__hpux)
for_files (XCHATLIBDIR"/plugins", "*.sl", plugin_auto_load_cb);
for_files (get_xdir_fs (), "*.sl", plugin_auto_load_cb);
-#elif defined(FE_AQUA) || defined(FE_IOS)
+#elif defined(FE_AQUA)
aqua_plugin_auto_load(ps);
+#elif defined(FE_IOS)
+ // no plugin available
#else
for_files (XCHATLIBDIR"/plugins", "*.so", plugin_auto_load_cb);
for_files (get_xdir_fs (), "*.so", plugin_auto_load_cb);

0 comments on commit f5db67e

Please sign in to comment.