diff options
author | Frederico Linhares <fred@linhares.blue> | 2024-01-06 11:41:41 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2024-01-06 11:41:41 -0300 |
commit | 66afe52032c85763ac3cc0ab03166879a2adb3ea (patch) | |
tree | 3da0b511503469e592972b9f220ef04928c02d64 /src/core.hpp | |
parent | ea2237fa3166321f06c4aea2586de315fab62282 (diff) |
buil Use NSIS to create Windows installer
Diffstat (limited to 'src/core.hpp')
-rw-r--r-- | src/core.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core.hpp b/src/core.hpp index 7393b33..f9e1e80 100644 --- a/src/core.hpp +++ b/src/core.hpp @@ -1,5 +1,5 @@ /* - * Copyright 2022-2023 Frederico de Oliveira Linhares + * Copyright 2022-2024 Frederico de Oliveira Linhares * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,8 +21,6 @@ #define CANDY_GEAR_VERSION_MINOR 1 #define CANDY_GEAR_VERSION_PATCH 0 -#define DATA_DIR "/usr/local/share/candy_gear" - #include <chrono> #include <random> @@ -35,6 +33,10 @@ #define SDL_MAIN_HANDLED +#ifdef _WIN64 +#include <Windows.h> +#endif + #include <SDL2/SDL.h> #include <SDL2/SDL_vulkan.h> #include <SDL2/SDL_mixer.h> |