From cc3755a16f00026af882ed14d122cc8aa6d50e82 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 3 Aug 2009 11:30:13 +0200 Subject: renamed from zs to zmq --- src/err.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/err.cpp') diff --git a/src/err.cpp b/src/err.cpp index 92a03ba..bca0c03 100644 --- a/src/err.cpp +++ b/src/err.cpp @@ -20,9 +20,9 @@ #include "err.hpp" #include "platform.hpp" -#ifdef ZS_HAVE_WINDOWS +#ifdef ZMQ_HAVE_WINDOWS -const char *zs::wsa_error() +const char *zmq::wsa_error() { int errcode = WSAGetLastError (); // TODO: This is not a generic way to handle this... @@ -134,13 +134,13 @@ const char *zs::wsa_error() "Valid name no data record of requested" : "error not defined"; } -void zs::win_error (char *buffer_, size_t buffer_size_) +void zmq::win_error (char *buffer_, size_t buffer_size_) { DWORD errcode = GetLastError (); DWORD rc = FormatMessageA (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errcode, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), buffer_, buffer_size_, NULL ); - zs_assert (rc); + zmq_assert (rc); } #endif -- cgit v1.2.3