Android fix (multiple definitions of bzero, which is unused anyway).

This commit is contained in:
lotodore
2012-04-22 08:45:23 +00:00
parent 3705e07c62
commit ea88b4bb0b
-5
View File
@@ -19,11 +19,6 @@
#ifndef _SOCKET_HELPER_H_
#define _SOCKET_HELPER_H_
#ifndef bzero
#include <cstring>
#define bzero(_ptr, _n) std::memset(_ptr, 0, _n)
#endif
#ifdef _WIN32
#ifdef __GNUC__ /* mingw provides stdint.h */