mirror of https://github.com/flysand7/ciabatta.git
Changed some includes
This commit is contained in:
parent
7bdca7eb73
commit
66ea2f09df
|
@ -1,11 +1,11 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
set PLATFORM=win32
|
||||
set PLATFORM=win
|
||||
set CIABATTA_OPTIONS=--crt none -I %% -I inc
|
||||
|
||||
del ciabatta.lib
|
||||
cuik %CIABATTA_OPTIONS% code\*.c platform\%PLATFORM%\*.c -c -o ciabatta.obj
|
||||
cuik %CIABATTA_OPTIONS% code\*.c code\os\%PLATFORM%\*.c -c -o ciabatta.obj
|
||||
lib /out:ciabatta.lib ciabatta.obj
|
||||
|
||||
cuik test\test.c --lib ciabatta.lib,kernel32.lib,user32.lib,shell32.lib %CIABATTA_OPTIONS%
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#error "Unsupported Compiler"
|
||||
#endif
|
||||
|
||||
#if defined(_compiler_msvc)
|
||||
#if defined(_compiler_msvc) || defined(_compiler_cuik)
|
||||
#include <intrin.h>
|
||||
#define _compiler_brk __debugbreak
|
||||
#elif defined(_compiler_gcc) || defined(_compiler_clang)
|
||||
|
@ -33,10 +33,4 @@
|
|||
#error "_compiler_brk is not implemented for this compiler"
|
||||
#endif
|
||||
|
||||
#if defined(_compiler_msvc)
|
||||
#define _compiler_curfunc __FUNCTION__
|
||||
#elif defined(_compiler_gcc) || defined(_compiler_clang)
|
||||
#define _compiler_curfunc __func__
|
||||
#else
|
||||
#error "_compiler_curfunc not implemented for this compiler"
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
typedef struct FILE FILE;
|
||||
typedef int64_t fpos_t;
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if !defined(NULL)
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
// Defines NULL
|
||||
#include <stddef.h>
|
||||
|
||||
#if !defined(__STDC_LIB_EXT1__)
|
||||
#define __STDC_LIB_EXT1__
|
||||
|
|
Loading…
Reference in New Issue