RUN_LOOP_EMBEDDED is only available if EMBEDDED is defined

This commit is contained in:
matthias.ringwald 2011-08-06 08:57:39 +00:00
parent ccaca820f5
commit 65b87ac8c3

View File

@ -121,9 +121,11 @@ void run_loop_init(RUN_LOOP_TYPE type){
} }
#endif #endif
switch (type) { switch (type) {
#ifdef EMBEDDED
case RUN_LOOP_EMBEDDED: case RUN_LOOP_EMBEDDED:
the_run_loop = &run_loop_embedded; the_run_loop = &run_loop_embedded;
break; break;
#endif
#ifdef USE_POSIX_RUN_LOOP #ifdef USE_POSIX_RUN_LOOP
case RUN_LOOP_POSIX: case RUN_LOOP_POSIX:
the_run_loop = &run_loop_posix; the_run_loop = &run_loop_posix;