Android fix (multiple definitions of bzero, which is unused anyway).
This commit is contained in:
1 parent
3705e07c62
commit
ea88b4bb0b
1 file changed
-5
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user