… | |
… | |
3332 | section for details) and use the following F<evwrap.h> header file instead |
3332 | section for details) and use the following F<evwrap.h> header file instead |
3333 | of F<ev.h>: |
3333 | of F<ev.h>: |
3334 | |
3334 | |
3335 | #define EV_STANDALONE /* keeps ev from requiring config.h */ |
3335 | #define EV_STANDALONE /* keeps ev from requiring config.h */ |
3336 | #define EV_SELECT_IS_WINSOCKET 1 /* configure libev for windows select */ |
3336 | #define EV_SELECT_IS_WINSOCKET 1 /* configure libev for windows select */ |
3337 | #define EV_STAT_ENABLE 0 /* no stat() availble */ |
|
|
3338 | |
3337 | |
3339 | #include "ev.h" |
3338 | #include "ev.h" |
3340 | |
3339 | |
3341 | And compile the following F<evwrap.c> file into your project (make sure |
3340 | And compile the following F<evwrap.c> file into your project (make sure |
3342 | you do I<not> compile the F<ev.c> or any other embedded soruce files!): |
3341 | you do I<not> compile the F<ev.c> or any other embedded soruce files!): |