Prevent potential header guard conflict
Diffstat:
8 files changed, 15 insertions(+), 15 deletions(-)
@@ -3,7 +3,7 @@
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
project(
Stellar
VERSION 0.0.1
VERSION 0.0.2
DESCRIPTION "Chess engine written in C"
HOMEPAGE_URL https://git.dimitrijedobrota.com/stellar.git
LANGUAGES C
@@ -1,5 +1,5 @@
#ifndef ATTACK_H
#define ATTACK_H
#ifndef STELLAR_ATTACK_H
#define STELLAR_ATTACK_H
#include "utils.h"
@@ -1,5 +1,5 @@
#ifndef BOARD_H
#define BOARD_H
#ifndef STELLAR_BOARD_H
#define STELLAR_BOARD_H
#include "piece.h"
@@ -1,5 +1,5 @@
#ifndef MOVES_H
#define MOVES_H
#ifndef STELLAR_MOVES_H
#define STELLAR_MOVES_H
#include <stdint.h>
@@ -1,5 +1,5 @@
#ifndef PERFT_H
#define PERFT_H
#ifndef STELLAR_PERFT_H
#define STELLAR_PERFT_H
#include "board.h"
@@ -1,5 +1,5 @@
#ifndef PIECE_H
#define PIECE_H
#ifndef STELLAR_PIECE_H
#define STELLAR_PIECE_H
#include "attack.h"
@@ -1,5 +1,5 @@
#ifndef SCORE_H
#define SCORE_H
#ifndef STELLAR_SCORE_H
#define STELLAR_SCORE_H
#include "board.h"
@@ -1,5 +1,5 @@
#ifndef __UTILS_H
#define __UTILS_H
#ifndef STELLAR_UTILS_H
#define STELLAR_UTILS_H
// useful macros
#define MAX(a, b) ((a > b) ? a : b)