diff options
Diffstat (limited to 'src/lib/log/win32err.h')
-rw-r--r-- | src/lib/log/win32err.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/log/win32err.h b/src/lib/log/win32err.h new file mode 100644 index 0000000000..92958c9879 --- /dev/null +++ b/src/lib/log/win32err.h @@ -0,0 +1,22 @@ +/* Copyright (c) 2003-2004, Roger Dingledine + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file win32err.h + * \brief Header for win32err.c + **/ + +#ifndef TOR_WIN32ERR_H +#define TOR_WIN32ERR_H + +#include "orconfig.h" + +/* Platform-specific helpers. */ +#ifdef _WIN32 +#include <windef.h> +char *format_win32_error(DWORD err); +#endif + +#endif |