File: include_first.h

package info (click to toggle)
vdr-plugin-markad 4.2.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,084 kB
  • sloc: cpp: 22,441; python: 613; makefile: 270; sh: 95
file content (25 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

/*******************************************************************************
 * These defines need to be included before any windows api header.
 ******************************************************************************/

/* just to be shure */
#ifndef _WIN32
   #define _WIN32 1
#endif

#ifdef WINVER
   #undef WINVER
#endif

#ifdef _WIN32_WINNT
   #undef _WIN32_WINNT
#endif

/* 0x0601 -> Win7 or better */
#define WINVER       0x0601
#define _WIN32_WINNT 0x0601

/* __cplusplus for C++20 */
#define CPLUSPLUS_20 202002L