GeoIP fixes

This commit is contained in:
Arvid Norberg
2008-05-12 07:14:03 +00:00
parent 7bde9ef4a9
commit 574211055c
2 changed files with 1 additions and 5 deletions

View File

@@ -173,10 +173,6 @@ GEOIP_API const char * GeoIP_region_name_by_code(const char *country_code, const
/* Get timezone from country and region code */ /* Get timezone from country and region code */
GEOIP_API const char * GeoIP_time_zone_by_country_and_region(const char *country_code, const char *region_code); GEOIP_API const char * GeoIP_time_zone_by_country_and_region(const char *country_code, const char *region_code);
#ifdef BSD
#define memcpy(dest, src, n) bcopy(src, dest, n)
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "GeoIP.h" #include "libtorrent/GeoIP.h"
#ifndef WIN32 #ifndef WIN32
#include <netdb.h> #include <netdb.h>