mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Some general refactoring in the builder / project code.
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#ifndef _MSC_VER
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define NO_ARENA 0
|
||||
#define MAX_VECTOR_WIDTH 65536
|
||||
@@ -20,7 +23,6 @@
|
||||
#define MAX_SOURCE_LOCATION_LEN 255
|
||||
#define PROJECT_JSON "project.json"
|
||||
|
||||
|
||||
#if defined( _WIN32 ) || defined( __WIN32__ ) || defined( _WIN64 )
|
||||
#define PLATFORM_WINDOWS 1
|
||||
#define PLATFORM_POSIX 0
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
const char *download_file(const char *url, const char *resource, const char *file_path);
|
||||
#endif
|
||||
|
||||
#define ELEMENTLEN(x) (sizeof(x) / sizeof(x[0]))
|
||||
extern const char *compiler_exe_name;
|
||||
|
||||
typedef struct StringSlice_
|
||||
|
||||
Reference in New Issue
Block a user