Skip to content

Instantly share code, notes, and snippets.

@NewEraCracker
Created December 14, 2016 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NewEraCracker/27fbf53c3a06999b214d16f80b13ec69 to your computer and use it in GitHub Desktop.
Save NewEraCracker/27fbf53c3a06999b214d16f80b13ec69 to your computer and use it in GitHub Desktop.
--- timezonedb-2016.6/php_timezonedb.h
+++ timezonedb-2016.6.1/php_timezonedb.h
@@ -26,7 +26,7 @@
extern zend_module_entry timezonedb_module_entry;
#define phpext_timezonedb_ptr &timezonedb_module_entry
-#define PHP_TIMEZONEDB_VERSION "2016.6"
+#define PHP_TIMEZONEDB_VERSION "2016.6.1"
PHP_MINIT_FUNCTION(timezonedb);
PHP_MINFO_FUNCTION(timezonedb);
--- timezonedb-2016.6/timezonedb.c
+++ timezonedb-2016.6.1/timezonedb.c
@@ -33,9 +33,6 @@
#define timezonedb_idx_builtin timezonedb_idx_external
#define timelib_timezone_db_data_builtin timelib_timezone_db_data_external
-#if PHP_VERSION_ID >= 50441 && PHP_VERSION_ID <= 50499
-# define TIMELIB_SUPPORTS_V2DATA
-#endif
#if PHP_VERSION_ID >= 50525 && PHP_VERSION_ID <= 50599
# define TIMELIB_SUPPORTS_V2DATA
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment