Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
n_windows.h
Go to the documentation of this file.
1
/*
2
* Nilorea Library
3
* Copyright (C) 2005-2026 Castagnier Mickael
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
26
#ifndef N_WINDOWS_HEADERS
27
#define N_WINDOWS_HEADERS
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
#ifdef _WIN32
34
#if (_WIN32_WINNT < 0x0501)
35
#undef _WIN32_WINNT
36
#define _WIN32_WINNT 0x0501
37
#endif
38
39
#define WIN32_LEAN_AND_MEAN
40
#include <winsock2.h>
41
#include <ws2tcpip.h>
42
#include <windows.h>
43
/* #pragma comment(lib, "ws2_32.lib") */
44
#endif
45
46
#ifdef __cplusplus
47
}
48
#endif
49
50
#endif
include
nilorea
n_windows.h
Generated on Wed Apr 1 2026 20:44:56 for Nilorea Library by
1.9.8