summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-23 11:32:21 +0000
committerroot <root>2007-11-23 11:32:21 +0000
commitc896b553711ae963b01b7a602e8fb6718d107f6f (patch)
treee2ebdb93f6ff871e5ca7bdc2f604dafd65cf4360
parent3aac629c70531882ca503ed6ad0519f89bca1334 (diff)
*** empty log message ***
-rw-r--r--README.embed7
-rw-r--r--ev.c6
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