Hyprland/src/includes.hpp

37 lines
721 B
C++
Raw Normal View History

2022-03-16 20:50:55 +01:00
#pragma once
2022-03-17 15:53:45 +01:00
// because C/C++ VS Code intellisense is stupid with includes, we will suppress them here.
// This suppresses all "include file not found" errors.
#ifdef __INTELLISENSE__
#pragma diag_suppress 1696
#endif
2022-03-16 20:50:55 +01:00
#include <getopt.h>
#include <libinput.h>
#include <linux/input-event-codes.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <wayland-server-core.h>
2022-03-16 22:21:12 +01:00
2022-04-13 17:34:13 +02:00
#ifdef LEGACY_RENDERER
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#define GLES2
#else
#define GLES32
2022-03-24 16:07:01 +01:00
#include <GLES3/gl32.h>
#include <GLES3/gl3ext.h>
2022-04-13 17:34:13 +02:00
#endif
2022-03-24 16:07:01 +01:00
2022-04-20 15:58:02 +02:00
#ifdef NO_XWAYLAND
#define XWAYLAND false
#else
#define XWAYLAND true
#endif
#include "SharedDefs.hpp"