1. Ruslan Osmanov
  2. pecl-event

Commits

Ruslan Osmanov  committed 59222e7

Preparing for 1.7.6

  • Participants
  • Parent commits 20ea252
  • Branches master

Comments (0)

Files changed (2)

File config.m4

View file
 [  --enable-event-debug     Enable debug support in Event], no, no)
 
 PHP_ARG_ENABLE(event-sockets, whether to enable sockets support in Event,
-[  --enable-event-sockets Enable sockets support in Event], no, no)
+[  --enable-event-sockets Enable sockets support in Event], yes, no)
 
 if test "$PHP_EVENT_CORE" != "no"; then
   dnl {{{ Check for PHP version

File src/common.h

View file
 #include <signal.h>
 
 #ifdef PHP_EVENT_SOCKETS
-# if PHP_VERSION_ID >= 50301 && (HAVE_SOCKETS || defined(COMPILE_DL_SOCKETS))
-#  include "ext/sockets/php_sockets.h"
-#  define PHP_EVENT_SOCKETS_SUPPORT
-# else
-#  error Sockets extension is required
-# endif
+# include "ext/sockets/php_sockets.h"
+# define PHP_EVENT_SOCKETS_SUPPORT
 #endif