summaryrefslogtreecommitdiff
path: root/builds/msvc/errno.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'builds/msvc/errno.cpp')
-rw-r--r--builds/msvc/errno.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/builds/msvc/errno.cpp b/builds/msvc/errno.cpp
deleted file mode 100644
index ddfe59f..0000000
--- a/builds/msvc/errno.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-#if defined _WIN32_WCE
-
-//#include "..\..\include\zmq.h"
-#include "..\..\src\err.hpp"
-
-int errno;
-int _doserrno;
-int _sys_nerr;
-
-char* error_desc_buff = NULL;
-
-char* strerror(int errno)
-{
- if (NULL != error_desc_buff)
- {
- LocalFree(error_desc_buff);
- error_desc_buff = NULL;
- }
-
- FormatMessage(
- FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ALLOCATE_BUFFER,
- NULL,
- errno,
- 0,
- (LPTSTR)&error_desc_buff,
- 1024,
- NULL
- );
- return error_desc_buff;
-}
-
-#endif \ No newline at end of file