diff options
author | root <root> | 2011-12-20 04:08:35 +0000 |
---|---|---|
committer | root <root> | 2011-12-20 04:08:35 +0000 |
commit | 5bc953f2f1fab0fcf0791c8cc1a399301a5ceb93 (patch) | |
tree | 99ab1593c7d60216d73061f257d9c135e2daf6ae /ev.pod | |
parent | 4e06171156c4d47330d6ae736e0a5b193fb83f89 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r-- | ev.pod | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -4654,6 +4654,17 @@ when you use C<-Wl,--gc-sections -ffunction-sections>) functions unused by your program might be left out as well - a binary starting a timer and an I/O watcher then might come out at only 5Kb. +=item EV_API_STATIC + +If this symbol is defined (by default it is not), then all identifiers +will have static linkage. This means that libev will not export any +identifiers, and you cannot link against libev anymore. This can be useful +when you embed libev, only want to use libev functions in a single file, +and do not want its identifiers to be visible. + +To use this, define C<EV_API_STATIC> and include F<ev.c> in the file that +wants to use libev. + =item EV_AVOID_STDIO If this is set to C<1> at compiletime, then libev will avoid using stdio |