mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
include: Avoid including unnecessary Windows headers.
We only require a few types and declarations.
This commit is contained in:
parent
08cece3a92
commit
d5a0b3afc4
Notes:
Alexandre Julliard
2023-06-28 23:05:04 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/217
@ -20,6 +20,7 @@
|
|||||||
#define __VKD3D_COMMON_H
|
#define __VKD3D_COMMON_H
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include "vkd3d_windows.h"
|
#include "vkd3d_windows.h"
|
||||||
#include "vkd3d_types.h"
|
#include "vkd3d_types.h"
|
||||||
|
|
||||||
@ -28,6 +29,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user