Fix compilation on systems with older compilers.
[tor.git] / src / lib / log / win32err.h
blob5c1386a64db9d1d427edbbbd987c7fecbca24091
1 /* Copyright (c) 2003-2004, Roger Dingledine
2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3 * Copyright (c) 2007-2020, The Tor Project, Inc. */
4 /* See LICENSE for licensing information */
6 /**
7 * \file win32err.h
8 * \brief Header for win32err.c
9 **/
11 #ifndef TOR_WIN32ERR_H
12 #define TOR_WIN32ERR_H
14 #include "orconfig.h"
16 /* Platform-specific helpers. */
17 #ifdef _WIN32
18 #include <windef.h>
19 char *format_win32_error(DWORD err);
20 #endif
22 #endif /* !defined(TOR_WIN32ERR_H) */