comparison parser-mpcmd.c @ 27397:d47744b95b78

Give a CONFIG_ prefix to preprocessor directives that lacked one and change arbitrary prefixes to CONFIG_.
author diego
date Thu, 07 Aug 2008 12:20:50 +0000
parents a0c602e0caf3
children 9e739bdb049c
comparison
equal deleted inserted replaced
27396:51438cb89305 27397:d47744b95b78
72 char *opt,*splitpos=NULL; 72 char *opt,*splitpos=NULL;
73 char entbuf[10]; 73 char entbuf[10];
74 int no_more_opts = 0; 74 int no_more_opts = 0;
75 int opt_exit = 0; // flag indicating whether mplayer should exit without playing anything 75 int opt_exit = 0; // flag indicating whether mplayer should exit without playing anything
76 play_tree_t *last_parent, *last_entry = NULL, *root; 76 play_tree_t *last_parent, *last_entry = NULL, *root;
77 #ifdef MACOSX_FINDER 77 #ifdef CONFIG_MACOSX_FINDER
78 extern play_tree_t *macosx_finder_args(m_config_t *, int , char **); 78 extern play_tree_t *macosx_finder_args(m_config_t *, int , char **);
79 #endif 79 #endif
80 80
81 #ifdef MP_DEBUG 81 #ifdef MP_DEBUG
82 assert(config != NULL); 82 assert(config != NULL);
84 assert(argc >= 1); 84 assert(argc >= 1);
85 #endif 85 #endif
86 86
87 config->mode = M_COMMAND_LINE; 87 config->mode = M_COMMAND_LINE;
88 mode = GLOBAL; 88 mode = GLOBAL;
89 #ifdef MACOSX_FINDER 89 #ifdef CONFIG_MACOSX_FINDER
90 root=macosx_finder_args(config, argc, argv); 90 root=macosx_finder_args(config, argc, argv);
91 if(root) 91 if(root)
92 return root; 92 return root;
93 #endif 93 #endif
94 94