diff options
-rw-r--r-- | README.embed | 7 | ||||
-rw-r--r-- | ev.c | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/README.embed b/README.embed index b80a23a..e987765 100644 --- a/README.embed +++ b/README.embed @@ -169,9 +169,14 @@ PREPROCESSOR SYMBOLS be used to virtually rename the ev.h header file in case of conflicts. + EV_CONFIG_H + + If EV_STANDALONE isn't 1, this variable can be used to override + ev.c's idea of where to find the "config.h" file. + EV_EVENT_H - Similarly to EV_H, this macro cna be used to override event.c's idea + Similarly to EV_H, this macro can be used to override event.c's idea of how the event.h header can be found. EV_PROTOTYPES @@ -34,7 +34,11 @@ extern "C" { #endif #ifndef EV_STANDALONE -# include "config.h" +# ifdef EV_CONFIG_H +# include EV_CONFIG_H +# else +# include "config.h" +# endif # if HAVE_CLOCK_GETTIME # ifndef EV_USE_MONOTONIC |