diff options
| author | root <root> | 2007-11-04 16:52:52 +0000 | 
|---|---|---|
| committer | root <root> | 2007-11-04 16:52:52 +0000 | 
| commit | d68da9db1b34dbd6f29a0576bc897a9c49e4d7ed (patch) | |
| tree | ddf326b6f90f6455c80bf012c79a208558b8d704 /ev.c | |
| parent | 305af5e87583383e4059c39dfa146621c5ec8be9 (diff) | |
*** empty log message ***
Diffstat (limited to 'ev.c')
| -rw-r--r-- | ev.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| @@ -28,7 +28,7 @@   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   */ -#ifndef EV_STANDALONE +#ifndef EV_EMBED  # include "config.h"  #endif @@ -95,7 +95,9 @@  #define PID_HASHSIZE  16 /* size of pid hash table, must be power of two */  /*#define CLEANUP_INTERVAL 300. /* how often to try to free memory and re-check fds */ -#include "ev.h" +#ifndef EV_EMBED +# include "ev.h" +#endif  #if __GNUC__ >= 3  # define expect(expr,value)         __builtin_expect ((expr),(value)) | 
