#pragma once // Copyright (c) 2019 Christoffer Lerno. All rights reserved. // Use of this source code is governed by the GNU LGPLv3.0 license // a copy of which can be found in the LICENSE file. #include #include #include #include #include #include #include "errors.h" #include #define MAX_IDENTIFIER_LENGTH 31 #define PROJECT_TOML "project.toml" #ifndef __unused #define __unused #endif #if defined( _WIN32 ) || defined( __WIN32__ ) || defined( _WIN64 ) #define PLATFORM_WINDOWS 1 #define PLATFORM_POSIX 0 #else #define PLATFORM_WINDOWS 0 #define PLATFORM_POSIX 1 #endif