Kaydet (Commit) 4bc06890 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Tor Lillqvist

Fix Windows build error

Include <windows.h> explicitly, surrounded by the prewin.h and
postwin.h headers. Also #undef ERROR to avoid a clash. Approved by
caolan.
üst 9f8034f2
...@@ -16,6 +16,13 @@ ...@@ -16,6 +16,13 @@
// the need for manually calling regcomp and knowing what // the need for manually calling regcomp and knowing what
// services we need, and in what .so they are implemented // services we need, and in what .so they are implemented
#ifdef WNT
# include <tools/prewin.h>
# include <windows.h>
# include <tools/postwin.h>
# undef ERROR
#endif
#include "sal/config.h" #include "sal/config.h"
#include <cppuhelper/bootstrap.hxx> #include <cppuhelper/bootstrap.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment