Update README.rst

This commit is contained in:
Dingjun 2015-03-30 18:39:07 +08:00
parent 362ff09183
commit 522faeb24f
1 changed files with 4 additions and 4 deletions

View File

@ -150,11 +150,11 @@ Under Cygwin environment, to compile the applications you need to compile and in
and second, you need to undefine the macro \_\_STRICT\_ANSI\_\_, if you not, the functions `fdopen`, `fileno` and `strptime` will not available. and second, you need to undefine the macro \_\_STRICT\_ANSI\_\_, if you not, the functions `fdopen`, `fileno` and `strptime` will not available.
the simple command like this: the simple command like this::
export CFLAGS="-U__STRICT_ANSI__ -I$libev_PREFIX/include -L$libev_PREFIX/lib" export CFLAGS="-U__STRICT_ANSI__ -I$libev_PREFIX/include -L$libev_PREFIX/lib"
export CXXFLAGS=$CFLAGS export CXXFLAGS=$CFLAGS
make make
If you want to compile the applications under `examples/`, you need to remove or rename the `event.h` from libev's installation, because it conflicts with libevent's installation. If you want to compile the applications under `examples/`, you need to remove or rename the `event.h` from libev's installation, because it conflicts with libevent's installation.