tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / sal / osl / w32 / system.h
blob921d746fd962111c2403520acaaaa8444354b37e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #if OSL_DEBUG_LEVEL <= 3
21 #define NO_DEBUG_CRT
22 #endif
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <stdarg.h>
27 #include <malloc.h>
28 #include <limits.h>
29 #include <process.h>
30 #include <time.h>
31 #include <fcntl.h>
32 #include <sys/types.h>
33 #include <sys/stat.h>
34 #include <io.h>
35 #include <share.h>
36 #include <direct.h>
38 /* Must define this else build breaks because Winsock2.h
39 includes Windows.h and without WIN32_LEAN_AND_MEAN
40 also includes mswsock.h which needs a forward typedef
41 of SOCKET ...
43 #define WIN32_LEAN_AND_MEAN
45 // winsock2.h includes windows.h
46 #include <winsock2.h>
47 #include <wsipx.h>
48 #include <ws2tcpip.h>
49 #include <shlobj.h>
50 #ifndef NO_DEBUG_CRT
51 #include <crtdbg.h>
52 #endif
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */