Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
win.h
Go to the documentation of this file.
1
#pragma once
2
3
#define XMD_H
4
5
#include <winsock2.h>
6
#include <windows.h>
7
#include <psapi.h>
8
9
// ugly hack to make our code work. windows.h has some terrible includes which define these things
10
// that clash with our variable names. Including them can be omitted when adding
11
// #define WIN32_LEAN_AND_MEAN
12
// before including windows.h, but then we will miss some defines needed for libraries like libjpeg.
13
#undef near
14
#undef grp2
15
#undef interface
16
17
#define sleep(n) Sleep(1000 * n)
18
#define HAVE_BOOLEAN
19
20
// clang-format off
21
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
22
// vim: shiftwidth=2 expandtab tabstop=2 cindent
23
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
24
// clang-format on
25
src
win
win.h
Generated by
1.9.8