From c896b553711ae963b01b7a602e8fb6718d107f6f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Nov 2007 11:32:21 +0000 Subject: *** empty log message *** --- README.embed | 7 ++++++- 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 diff --git a/ev.c b/ev.c index 716c3d1..fd82fbd 100644 --- a/ev.c +++ b/ev.c @@ -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 -- cgit v1.2.3