mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
29 lines
654 B
C
29 lines
654 B
C
#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 <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdbool.h>
|
|
#include <string.h>
|
|
#include <stdarg.h>
|
|
#include <assert.h>
|
|
#include "errors.h"
|
|
#include <stdbool.h>
|
|
|
|
#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 |