aboutsummaryrefslogtreecommitdiff
path: root/butl/win32-utility
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-01 16:08:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-01 16:59:24 +0300
commit61377c582e0f2675baa5f5e6e30a35d1a4164b33 (patch)
tree11cdca992834d7f7f197f72856712fbcb3020e3d /butl/win32-utility
parent442c1a6790e52baa0c081f310d4d9e9b6f1ff638 (diff)
Add hxx extension for headers and lib prefix for library dir
Diffstat (limited to 'butl/win32-utility')
-rw-r--r--butl/win32-utility54
1 files changed, 0 insertions, 54 deletions
diff --git a/butl/win32-utility b/butl/win32-utility
deleted file mode 100644
index fb0146f..0000000
--- a/butl/win32-utility
+++ /dev/null
@@ -1,54 +0,0 @@
-// file : butl/win32-utility -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BUTL_WIN32_UTILITY
-#define BUTL_WIN32_UTILITY
-
-// Use this header to include <windows.h> and a couple of Win32-specific
-// utilities.
-//
-
-#ifdef _WIN32
-
-// Try to include <windows.h> so that it doesn't mess other things up.
-//
-#ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# ifndef NOMINMAX // No min and max macros.
-# define NOMINMAX
-# include <windows.h>
-# undef NOMINMAX
-# else
-# include <windows.h>
-# endif
-# undef WIN32_LEAN_AND_MEAN
-#else
-# ifndef NOMINMAX
-# define NOMINMAX
-# include <windows.h>
-# undef NOMINMAX
-# else
-# include <windows.h>
-# endif
-#endif
-
-#include <string>
-
-#include <butl/export>
-
-namespace butl
-{
- namespace win32
- {
- LIBBUTL_EXPORT std::string
- error_msg (DWORD code);
-
- LIBBUTL_EXPORT std::string
- last_error_msg ();
- }
-};
-
-#endif // _WIN32
-
-#endif // BUTL_WIN32_UTILITY